X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_oper_hash.cpp;h=8c9ca0556faf3f48c8d985bcf9c1c427cf7aca1e;hb=7f00015727fab50e37de46aa90d218b31c852c87;hp=b1d80b7eba61060ff3054449122d357709751319;hpb=3a554ef1e9be9dbcf3de3301a4a6c2938d643bea;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_oper_hash.cpp b/src/modules/m_oper_hash.cpp index b1d80b7eb..8c9ca0556 100644 --- a/src/modules/m_oper_hash.cpp +++ b/src/modules/m_oper_hash.cpp @@ -84,7 +84,7 @@ class ModuleOperHash : public Module /* Read the config file first */ Conf = NULL; - OnRehash(""); + OnRehash(NULL,""); ServerInstance->UseInterface("HashRequest"); @@ -104,7 +104,6 @@ class ModuleOperHash : public Module /* Build a map of them */ hashers[name.c_str()] = *m; names.push_back(name); - ServerInstance->Log(DEBUG, "Found HashRequest interface: '%s' -> '%08x'", name.c_str(), *m); } } else @@ -126,7 +125,7 @@ class ModuleOperHash : public Module List[I_OnRehash] = List[I_OnOperCompare] = 1; } - virtual void OnRehash(const std::string ¶meter) + virtual void OnRehash(userrec* user, const std::string ¶meter) { /* Re-read configuration file */ if (Conf)