diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-10 16:22:41 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-10 16:22:41 +0000 |
commit | 29537d94fea54256b537e1301527f71f04ef97c9 (patch) | |
tree | 6a3587976f86add06b107604acc358d3734b638e /include | |
parent | f5a2f43fc24698eefb9b463437f0fa8ec6533657 (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 'include')
-rw-r--r-- | include/globals.h | 1 | ||||
-rw-r--r-- | include/helperfuncs.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/globals.h b/include/globals.h index 5b74aeaa1..e9f106b05 100644 --- a/include/globals.h +++ b/include/globals.h @@ -41,7 +41,6 @@ void WriteCommon(userrec *u, char* text, ...); void WriteCommonExcept(userrec *u, char* text, ...); void WriteWallOps(userrec *source, bool local_only, char* text, ...); int isnick(const char *n); -userrec* Find(std::string nick); chanrec* FindChan(const char* chan); void readfile(file_cache &F, const char* fname); diff --git a/include/helperfuncs.h b/include/helperfuncs.h index d99755035..90c23f776 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(const std::string &nick); userrec* Find(const char* nick); chanrec* FindChan(const char* chan); long GetMaxBans(char* name); |