1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 19:26:40 +02:00

Added inspircd2.0 protocol module, moved usermode +r unsetting on nick change to the protocol modules to fix inspircd1.2s weird usermode +r behavior

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2997 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2010-06-03 19:01:28 +00:00
parent f43f6c3864
commit 9abdb4e2e9
10 changed files with 1454 additions and 26 deletions
+2 -2
View File
@@ -515,9 +515,9 @@ class CoreExport Module
/** Called after a user changed the nick
* @param u The user.
* @param oldnick the old nick of the user
* @param oldnick The old nick of the user
*/
virtual void OnUserNickChange(User *u, const char *oldnick) { }
virtual void OnUserNickChange(User *u, const std::string &oldnick) { }
/** Called immediatly when a user tries to run a command
* @param service The service
-1
View File
@@ -394,7 +394,6 @@ struct ircdvars_ {
int umode; /* change user modes */
int nickvhost; /* Users vhost sent during NICK */
int chgreal; /* Change RealName */
int check_nick_id; /* On nick change check if they could be identified */
int knock_needs_i; /* Check if we needed +i when setting NOKNOCK */
int token; /* Does Anope support the tokens for the ircd */
int sjb64;