diff options
| author | 2006-06-29 08:30:25 +0000 | |
|---|---|---|
| committer | 2006-06-29 08:30:25 +0000 | |
| commit | 7c0a77920db0d64c1a3c0f1413fd64c62ae8cefa (patch) | |
| tree | f83a3fe46c18341afe3876c8d7ff8ed74719743c /src/cmd_pong.cpp | |
| parent | Convert char* to const char* in InspSocket constructor prototype. Shouldn't b... (diff) | |
| download | inspircd++-7c0a77920db0d64c1a3c0f1413fd64c62ae8cefa.tar.gz inspircd++-7c0a77920db0d64c1a3c0f1413fd64c62ae8cefa.tar.bz2 inspircd++-7c0a77920db0d64c1a3c0f1413fd64c62ae8cefa.zip | |
Change log() to a #define, the real symbol is now do_log(), the new macro auto-prefixes all log messages with the file and line number where log() was called - should be nice for debugging and telling wtf is coming from what.Currently uses a (probably very standard) g++ extension to make the macro work. Shouldn't be an issue.
You must make clean and rebuild all of insp.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4081 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_pong.cpp')
| -rw-r--r-- | src/cmd_pong.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd_pong.cpp b/src/cmd_pong.cpp index cc708ee80..76acfbccd 100644 --- a/src/cmd_pong.cpp +++ b/src/cmd_pong.cpp @@ -17,6 +17,7 @@ #include "users.h" #include "commands.h" #include "commands/cmd_pong.h" +#include "helperfuncs.h" void cmd_pong::Handle (char **parameters, int pcnt, userrec *user) { |
