summaryrefslogtreecommitdiff
path: root/logging.h
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-09-16 20:21:06 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-09-16 20:21:06 +0100
commit424ba496e6affc6d9421b1ce7147b34bf5c7913b (patch)
tree95fa5b961c13a1eb671bda109f8db0ecdd633180 /logging.h
parent7a3a8aa2a521f752a042ede37b81125689aa0067 (diff)
Log user/channel mode setting in the replay and normal logs.
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.
//