From bdbdb57fc3ae81c0dbb46c4e6ffdd6c0205a81c0 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sat, 25 Jan 2014 01:34:11 +0100 Subject: add channel topic tracking --- bouncer/core.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bouncer/core.h') diff --git a/bouncer/core.h b/bouncer/core.h index 7236ff7..1d6b9db 100644 --- a/bouncer/core.h +++ b/bouncer/core.h @@ -102,6 +102,8 @@ public: void handleNick(const UserRef &user, const char *newNick); void handleMode(const UserRef &user, const char *str); void handlePrivmsg(const UserRef &user, const char *str); + void handleTopic(const UserRef &user, const char *message); + void handleTopicInfo(const char *user, int timestamp); char getEffectivePrefixChar(const char *nick) const; @@ -173,6 +175,7 @@ struct Packet { B2C_CHANNEL_USER_REMOVE = 0x121, B2C_CHANNEL_USER_RENAME = 0x122, B2C_CHANNEL_USER_MODES = 0x123, + B2C_CHANNEL_TOPIC = 0x124, C2B_OOB_LOGIN = 0x8001, -- cgit v1.2.3