summaryrefslogtreecommitdiff
path: root/src/modules/m_operlevels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_operlevels.cpp')
-rw-r--r--src/modules/m_operlevels.cpp4
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 &parameter)
{
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?