diff options
Diffstat (limited to 'src/modules/m_override.cpp')
-rw-r--r-- | src/modules/m_override.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp index d764f553b..58fa0ac48 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -49,7 +49,7 @@ class ModuleOverride : public Module OnRehash(""); } - virtual void OnRehash(std::string parameter) + virtual void OnRehash(const std::string ¶meter) { // on a rehash we delete our classes for good measure and create them again. delete Conf; @@ -88,7 +88,7 @@ class ModuleOverride : public Module return false; } - virtual int OnUserPreKick(userrec* source, userrec* user, chanrec* chan, std::string reason) + virtual int OnUserPreKick(userrec* source, userrec* user, chanrec* chan, const std::string &reason) { if ((*source->oper) && (CanOverride(source,"KICK"))) { |