diff options
-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; |