X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_remove.cpp;h=6e5eaae46770eaa764ac26a7128039e9d4d7db31;hb=819147178db00008a215670992d0f532dd57f9e5;hp=3406b206cd5434579670ac96355fe3af6968eb11;hpb=aa58426f0f3de8d7b23699d1e82309559b7b74fc;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index 3406b206c..6e5eaae46 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -3,7 +3,7 @@ * +------------------------------------+ * * InspIRCd: (C) 2002-2009 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits + * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see * the file COPYING for details. @@ -251,7 +251,7 @@ class ModuleRemove : public Module mycommand2 = new CommandFpart(ServerInstance, supportnokicks); ServerInstance->AddCommand(mycommand); ServerInstance->AddCommand(mycommand2); - OnRehash(NULL,""); + OnRehash(NULL); Implementation eventlist[] = { I_On005Numeric, I_OnRehash }; ServerInstance->Modules->Attach(eventlist, this, 2); } @@ -262,7 +262,7 @@ class ModuleRemove : public Module output.append(" REMOVE"); } - virtual void OnRehash(User* user, const std::string&) + virtual void OnRehash(User* user) { ConfigReader conf(ServerInstance); supportnokicks = conf.ReadFlag("remove", "supportnokicks", 0);