From 91eebe370cfde1b3f904b29bd9ea12bc2d18527f Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 17 May 2007 16:54:33 +0000 Subject: 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 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 1955c9029..645e07046 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1341,7 +1341,7 @@ void userrec::Write(std::string text) try { - /* ServerInstance->Log(DEBUG,"<- %s", text.c_str()); + /* ServerInstance->Log(DEBUG,"C[%d] <- %s", this->GetFd(), text.c_str()); * WARNING: The above debug line is VERY loud, do NOT * enable it till we have a good way of filtering it * out of the logs (e.g. 1.2 would be good). -- cgit v1.3.1-10-gc9f91