diff options
author | Treeki <treeki@gmail.com> | 2014-01-25 01:34:11 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2014-01-25 01:34:11 +0100 |
commit | bdbdb57fc3ae81c0dbb46c4e6ffdd6c0205a81c0 (patch) | |
tree | 452d25a6fc233199272c634c42a4f72c46af2488 /bouncer/core.h | |
parent | f83687cc5e99d66153c296e7632b88de2594b79d (diff) | |
download | bounce4-bdbdb57fc3ae81c0dbb46c4e6ffdd6c0205a81c0.tar.gz bounce4-bdbdb57fc3ae81c0dbb46c4e6ffdd6c0205a81c0.zip |
add channel topic tracking
Diffstat (limited to '')
-rw-r--r-- | bouncer/core.h | 3 |
1 files changed, 3 insertions, 0 deletions
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, |