summaryrefslogtreecommitdiff
path: root/logging.h
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2024-03-31 22:17:16 +0100
committerLuke Bratch <luke@bratch.co.uk>2024-03-31 22:17:16 +0100
commit7ac369cbe46739beac37d97642b65b98c46ffc4d (patch)
treea64b89a5e5a13b16c3c4cbc4205b2ef0bcec2a16 /logging.h
parent40447ede689b5ea75f1c1f7bf6345eecd4699b0a (diff)
Handle server KICK commands.
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 b4db7e4..2c9764f 100644
--- a/logging.h
+++ b/logging.h
@@ -40,6 +40,7 @@
#define LOG_QUIT 4
#define LOG_NICK 5
#define LOG_MODE 6
+#define LOG_KICK 7
#define DEBUG_CRIT 0
#define DEBUG_SOME 1
#define DEBUG_FULL 2
@@ -82,6 +83,9 @@
// If LOG_MODE then it expects a string in the format:
// :nick!bar@baz MODE #channel foo bar [foo bar...]
//
+// If LOG_KICK then it expects a string in the format:
+// :kicker!bar@baz KICK #channel kickee :bla bla bla
+//
// With the ":foo!bar@baz "prefix being important for all
// types.
//