summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-06-03 19:01:28 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-06-03 19:01:28 +0000
commit9abdb4e2e96b7b7699ce3ec66633bcc8f14e025d (patch)
treebb1f508aad9455d89f332c96ed606a770debee77 /include
parentf43f6c386431dfc2e7668916b4582a98c18ca6c3 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/modules.h4
-rw-r--r--include/services.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/include/modules.h b/include/modules.h
index e17c8b272..8085ef052 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -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
diff --git a/include/services.h b/include/services.h
index 3544350fc..a38c8a207 100644
--- a/include/services.h
+++ b/include/services.h
@@ -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;