From 396c9ef9f7a96934d3227bb7d1d091315e3d4fa8 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 14:43:29 +0000 Subject: FindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, GetClass, WriteOpers, GetServerDescription -> into classes ServerConfig takes InspIRCd pointer in its constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4832 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/helperfuncs.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'include/helperfuncs.h') diff --git a/include/helperfuncs.h b/include/helperfuncs.h index 801e05bdb..9c3207a9e 100644 --- a/include/helperfuncs.h +++ b/include/helperfuncs.h @@ -48,20 +48,7 @@ enum DebugLevel #define STRINGIFY(x) STRINGIFY2(x) #define log(l, x, args...) InspIRCd::Log(l, __FILE__ ":" STRINGIFY(__LINE__) ": " x, ##args) -void WriteOpers(const char* text, ...); -void WriteOpers_NoFormat(const char* text); - -std::string GetServerDescription(const char* servername); void strlower(char *n); -userrec* Find(const std::string &nick); -userrec* Find(const char* nick); -chanrec* FindChan(const char* chan); -int usercount_i(chanrec *c); -long GetMaxBans(char* name); -void purge_empty_chans(userrec* u); -char* chanmodes(chanrec *chan, bool showkey); -void userlist(userrec *user,chanrec *c); -ConnectClass GetClass(userrec *user); void Error(int status); void ShowMOTD(userrec *user); void ShowRULES(userrec *user); @@ -73,7 +60,4 @@ std::string GetFullProgDir(char** argv, int argc); int InsertMode(std::string &output, const char* modes, unsigned short section); bool IsValidChannelName(const char *); -int charlcat(char* x,char y,int z); -bool charremove(char* mp, char remove); - #endif -- cgit v1.2.3