diff options
Diffstat (limited to 'src/modules/m_opermotd.cpp')
-rw-r--r-- | src/modules/m_opermotd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp index 0cf4efdc0..c43775db8 100644 --- a/src/modules/m_opermotd.cpp +++ b/src/modules/m_opermotd.cpp @@ -85,12 +85,12 @@ class ModuleOpermotd : public Module List[I_OnRehash] = List[I_OnOper] = 1; } - virtual void OnOper(userrec* user, std::string opertype) + virtual void OnOper(userrec* user, const std::string &opertype) { ShowOperMOTD(user); } - virtual void OnRehash(std::string parameter) + virtual void OnRehash(const std::string ¶meter) { LoadOperMOTD(); } |