summaryrefslogtreecommitdiff
path: root/src/modules/m_operwho.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_operwho.cpp')
-rw-r--r--src/modules/m_operwho.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operwho.cpp b/src/modules/m_operwho.cpp
index 53f87b087..626c03df6 100644
--- a/src/modules/m_operwho.cpp
+++ b/src/modules/m_operwho.cpp
@@ -61,7 +61,7 @@ class ModuleOperWho : public Module
List[I_OnPreCommand] = 1;
}
- virtual int OnPreCommand(std::string command, char **parameters, int pcnt, userrec *user, bool validated)
+ virtual int OnPreCommand(const std::string &command, char **parameters, int pcnt, userrec *user, bool validated)
{
if ((!*user->oper) || (command != "WHO"))