summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index c6e1bcd10..4f9814cda 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -1013,7 +1013,7 @@ void strlower(char *n)
/* Find a user record by nickname and return a pointer to it */
-userrec* Find(std::string nick)
+userrec* Find(std::string &nick)
{
user_hash::iterator iter = clientlist.find(nick);