summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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;