diff options
Diffstat (limited to 'src/modules/m_operlevels.cpp')
-rw-r--r-- | src/modules/m_operlevels.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp index b598dec1f..b4a76d5c0 100644 --- a/src/modules/m_operlevels.cpp +++ b/src/modules/m_operlevels.cpp @@ -36,7 +36,7 @@ class ModuleOperLevels : public Module List[I_OnRehash] = List[I_OnKill] = 1; } - virtual void OnRehash(std::string parameter) + virtual void OnRehash(const std::string ¶meter) { delete conf; conf = new ConfigReader; @@ -47,7 +47,7 @@ class ModuleOperLevels : public Module return Version(1,0,0,1,VF_VENDOR); } - virtual int OnKill(userrec* source, userrec* dest, std::string reason) + virtual int OnKill(userrec* source, userrec* dest, const std::string &reason) { long dest_level = 0,source_level = 0; // oper killing an oper? |