summaryrefslogtreecommitdiff
path: root/include/helperfuncs.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-21 19:01:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-21 19:01:33 +0000
commitf0ebde21e57d340c3dca5a3ad0646d4b469bafaa (patch)
tree0cb6a888f6a7ee7cdea9ecda851a47965559fa5d /include/helperfuncs.h
parenta546ab3f11c28ce03952567b8cf4035bd7a93bf5 (diff)
Improved speed of Find() by passing reference to std::string instead of std::string itself
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3272 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/helperfuncs.h')
-rw-r--r--include/helperfuncs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/helperfuncs.h b/include/helperfuncs.h
index 70cc06da2..73e791c9d 100644
--- a/include/helperfuncs.h
+++ b/include/helperfuncs.h
@@ -60,7 +60,7 @@ void ServerNoticeAll(char* text, ...);
void ServerPrivmsgAll(char* text, ...);
void WriteWallOps(userrec *source, bool local_only, char* text, ...);
void strlower(char *n);
-userrec* Find(std::string nick);
+userrec* Find(std::string &nick);
chanrec* FindChan(const char* chan);
long GetMaxBans(char* name);
void purge_empty_chans(userrec* u);