]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cloaking.cpp
Remove some debug (im on a crusade to make debug mode useful, but at the same time...
[user/henk/code/inspircd.git] / src / modules / m_cloaking.cpp
index 17e8c34056f7bbbdf64b600f99015e39062b7ece..707085b144cd9afa0db06a72e5e7befd51352fd5 100644 (file)
@@ -241,7 +241,7 @@ class ModuleCloaking : public Module
                if (!ServerInstance->AddMode(cu, 'x'))
                        throw ModuleException("Could not add new modes!");
 
-               OnRehash("");
+               OnRehash(NULL,"");
        }
        
        virtual ~ModuleCloaking()
@@ -258,7 +258,7 @@ class ModuleCloaking : public Module
                return Version(1,1,0,2,VF_COMMON|VF_VENDOR,API_VERSION);
        }
 
-       virtual void OnRehash(const std::string &parameter)
+       virtual void OnRehash(userrec* user, const std::string &parameter)
        {
                cu->DoRehash();
        }