From 4dd7ef37ff900594e14c3ccae20c7f2bfde91c1a Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 15 Apr 2004 10:41:16 +0000 Subject: Attempted fixes of weird server tokens turning up in data stream git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@597 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index ca1041e69..6384fd29d 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -892,6 +892,8 @@ void NetSendToCommon(userrec* u, char* s) char buffer[MAXBUF]; snprintf(buffer,MAXBUF,"%s",s); + log(DEBUG,"NetSendToCommon: '%s' '%s'",u->nick,s); + for (int j = 0; j < 32; j++) { if (me[j] != NULL) @@ -913,6 +915,8 @@ void NetSendToAll(char* s) char buffer[MAXBUF]; snprintf(buffer,MAXBUF,"%s",s); + log(DEBUG,"NetSendToAll: '%s'",target,s); + for (int j = 0; j < 32; j++) { if (me[j] != NULL) @@ -931,6 +935,8 @@ void NetSendToOne(char* target,char* s) char buffer[MAXBUF]; snprintf(buffer,MAXBUF,"%s",s); + log(DEBUG,"NetSendToOne: '%s' '%s'",target,s); + for (int j = 0; j < 32; j++) { if (me[j] != NULL) @@ -951,6 +957,8 @@ void NetSendToAllExcept(char* target,char* s) char buffer[MAXBUF]; snprintf(buffer,MAXBUF,"%s",s); + log(DEBUG,"NetSendToAllExcept: '%s' '%s'",target,s); + for (int j = 0; j < 32; j++) { if (me[j] != NULL) -- cgit v1.2.3