summaryrefslogtreecommitdiff
path: root/src/cmd_topic.cpp
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-29 08:30:25 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-29 08:30:25 +0000
commit7c0a77920db0d64c1a3c0f1413fd64c62ae8cefa (patch)
treef83a3fe46c18341afe3876c8d7ff8ed74719743c /src/cmd_topic.cpp
parent4a58726d8b78b506216f81998c812b0c8c468daa (diff)
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_topic.cpp')
-rw-r--r--src/cmd_topic.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd_topic.cpp b/src/cmd_topic.cpp
index 8cad4e329..191cecb0f 100644
--- a/src/cmd_topic.cpp
+++ b/src/cmd_topic.cpp
@@ -21,6 +21,7 @@
#include "message.h"
#include "commands.h"
#include "commands/cmd_topic.h"
+#include "helperfuncs.h"
extern ServerConfig* Config;
extern int MODCOUNT;