diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-13 00:09:12 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-13 00:09:12 +0000 |
commit | 9af8a70395e72b2a7424c54da8a66a67bfa0c068 (patch) | |
tree | ab0a2bb7226910e2f43a08b4a58bb1d4f8a3ca63 | |
parent | 0f19037dd12555879d8f01c0eee27e5b1f8a0671 (diff) |
More old /map code removal, removed stuff from headers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2365 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | include/helperfuncs.h | 4 | ||||
-rw-r--r-- | src/helperfuncs.cpp | 10 |
2 files changed, 0 insertions, 14 deletions
diff --git a/include/helperfuncs.h b/include/helperfuncs.h index 796b2b386..98519ce94 100644 --- a/include/helperfuncs.h +++ b/include/helperfuncs.h @@ -67,14 +67,10 @@ int usercount_invisible(void); int usercount_opers(void); int usercount_unknown(void); long chancount(void); -long count_servs(void); -long servercount(void); long local_count(); void ShowMOTD(userrec *user); void ShowRULES(userrec *user); bool AllModulesReportReady(userrec* user); -char islast(const char* s); -long map_count(const char* s); void createcommand(char* cmd, handlerfunc f, char flags, int minparams,char* source); void SetupCommandTable(void); bool DirValid(char* dirandfile); diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index aa1e38386..479e20e24 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -1190,16 +1190,6 @@ bool AllModulesReportReady(userrec* user) return true; } -long map_count(const char* s) -{ - int c = 0; - for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++) - { - if ((i->second->fd) && (isnick(i->second->nick)) && (!strcasecmp(i->second->server,s))) c++; - } - return c; -} - void createcommand(char* cmd, handlerfunc f, char flags, int minparams,char* source) { command_t comm; |