summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-17 16:54:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-17 16:54:33 +0000
commit91eebe370cfde1b3f904b29bd9ea12bc2d18527f (patch)
treef3d73a23870e4216c0e0b0d72a448bad39f28283 /src/command_parse.cpp
parent98b4acdb3f349459b48e3e67c0928276ad2d47f5 (diff)
Change the way i/o lines are formatted in debug log to make them more intuitive. Now includes a C or S to say if its client or server, plus the fd:
Thu May 17 17:56:16 2007: C[15] -> :Brain MODE #test Thu May 17 17:56:17 2007: C[15] -> :Brain WHO #test git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7039 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index 7529461d0..444e6f78b 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -426,7 +426,7 @@ void CommandParser::ProcessBuffer(std::string &buffer,userrec *user)
{
if (!user->muted)
{
- ServerInstance->Log(DEBUG,"-> :%s %s",user->nick,buffer.c_str());
+ ServerInstance->Log(DEBUG,"C[%d] -> :%s %s",user->GetFd(), user->nick, buffer.c_str());
this->ProcessCommand(user,buffer);
}
}