X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_remove.cpp;h=6e5eaae46770eaa764ac26a7128039e9d4d7db31;hb=819147178db00008a215670992d0f532dd57f9e5;hp=573567c949948c8746fb57f555338c9cb44cc5d7;hpb=b6dbd6caab62bc2c0d11ce5a45d511611eb9c2ef;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index 573567c94..6e5eaae46 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -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);