diff options
Diffstat (limited to 'src/modules/m_operjoin.cpp')
-rw-r--r-- | src/modules/m_operjoin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp index ee237f635..cba931257 100644 --- a/src/modules/m_operjoin.cpp +++ b/src/modules/m_operjoin.cpp @@ -30,7 +30,7 @@ class ModuleOperjoin : public Module List[I_OnPostOper] = List[I_OnRehash] = 1; } - virtual void OnRehash(std::string parameter) + virtual void OnRehash(const std::string ¶meter) { delete conf; conf = new ConfigReader; @@ -46,7 +46,7 @@ class ModuleOperjoin : public Module return Version(1,0,0,1,VF_VENDOR); } - virtual void OnPostOper(userrec* user, std::string opertype) + virtual void OnPostOper(userrec* user, const std::string &opertype) { if(operChan != "") { |