summaryrefslogtreecommitdiff
path: root/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'logging.h')
-rw-r--r--logging.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/logging.h b/logging.h
index 726a490..c2b6d4f 100644
--- a/logging.h
+++ b/logging.h
@@ -38,6 +38,7 @@
#define LOG_TOPIC 2
#define LOG_NETWORK 3
#define LOG_QUIT 4
+#define LOG_NICK 5
#define DEBUG_CRIT 0
#define DEBUG_SOME 1
#define DEBUG_FULL 2
@@ -73,6 +74,10 @@
// channel log file. The caller probably has to call logline()
// multiple times for each channel the nick was in.
//
+// If LOG_NICK then it expects a string in the format:
+// channelname :oldnick!bar@baz NICK :newnick
+// Same manual 'channelname' prepending as LOG_QUIT above.
+//
// With the ":foo!bar@baz "prefix being important for all
// types.
//