summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-10 16:22:41 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-10 16:22:41 +0000
commit29537d94fea54256b537e1301527f71f04ef97c9 (patch)
tree6a3587976f86add06b107604acc358d3734b638e /src/helperfuncs.cpp
parentf5a2f43fc24698eefb9b463437f0fa8ec6533657 (diff)
Another const reference conversion, and remove redundant declaration of userrec* Find() from globals.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3633 e03df62e-2008-0410-955e-edbf42e46eb7
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 ab9c3f46a..cbc52b4dd 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -1144,7 +1144,7 @@ void strlower(char *n)
/* Find a user record by nickname and return a pointer to it */
-userrec* Find(std::string nick)
+userrec* Find(const std::string &nick)
{
user_hash::iterator iter = clientlist.find(nick);