From 0caead69fb08e42608e37ed5368cfdaf3ecf3088 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 28 Jul 2006 12:15:26 +0000 Subject: Tidyup message.cpp, remove some really old craq. Improve tidiness of new common_channels function Add timeout value to blocking CleanAndResolve function git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4572 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/message.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/message.h b/include/message.h index c1e1932fb..fd9d47ff2 100644 --- a/include/message.h +++ b/include/message.h @@ -31,7 +31,7 @@ int common_channels(userrec *u, userrec *u2); void Blocking(int s); void NonBlocking(int s); -int CleanAndResolve (char *resolvedHost, const char *unresolvedHost, bool forward); +int CleanAndResolve(char *resolvedHost, const char *unresolvedHost, bool forward, unsigned long timeout); int c_count(userrec* u); void ChangeName(userrec* user, const char* gecos); void ChangeDisplayedHost(userrec* user, const char* host); @@ -39,9 +39,7 @@ int isident(const char* n); int isnick(const char* n); const char* cmode(userrec *user, chanrec *chan); int cstatus(userrec *user, chanrec *chan); -void TidyBan(char *ban); std::string chlist(userrec *user, userrec* source); -void send_network_quit(const char* nick, const char* reason); int cflags(userrec *user, chanrec *chan); #endif -- cgit v1.2.3