summaryrefslogtreecommitdiff
path: root/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'logging.h')
-rw-r--r--logging.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/logging.h b/logging.h
index c2b6d4f..b4db7e4 100644
--- a/logging.h
+++ b/logging.h
@@ -39,6 +39,7 @@
#define LOG_NETWORK 3
#define LOG_QUIT 4
#define LOG_NICK 5
+#define LOG_MODE 6
#define DEBUG_CRIT 0
#define DEBUG_SOME 1
#define DEBUG_FULL 2
@@ -78,6 +79,9 @@
// channelname :oldnick!bar@baz NICK :newnick
// Same manual 'channelname' prepending as LOG_QUIT above.
//
+// If LOG_MODE then it expects a string in the format:
+// :nick!bar@baz MODE #channel foo bar [foo bar...]
+//
// With the ":foo!bar@baz "prefix being important for all
// types.
//