summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-15 10:41:16 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-15 10:41:16 +0000
commit4dd7ef37ff900594e14c3ccae20c7f2bfde91c1a (patch)
treeba1f4e24bbaa7d0aeb7a39cdde37419dea5eafb4 /src/inspircd.cpp
parent4ea9b10442f9fae6900087184a0e1f77bca6925e (diff)
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
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp8
1 files changed, 8 insertions, 0 deletions
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)