From 9abdb4e2e96b7b7699ce3ec66633bcc8f14e025d Mon Sep 17 00:00:00 2001 From: Adam- Date: Thu, 3 Jun 2010 19:01:28 +0000 Subject: 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 --- include/modules.h | 4 ++-- include/services.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'include') 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; -- cgit