summaryrefslogtreecommitdiff
path: root/src/irc/irc_client.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-05-07 17:17:01 +0200
committerFlorent Le Coz <louiz@louiz.org>2015-05-07 17:17:01 +0200
commit163ace553f3e65dcf9f97070faa5dbab0d31bac0 (patch)
tree3340c27c98275fdda65b2e5f6ffb48dbc64c240d /src/irc/irc_client.hpp
parent0a6b673b14efc4f623ea445045e6fc60e9842a25 (diff)
downloadbiboumi-163ace553f3e65dcf9f97070faa5dbab0d31bac0.tar.gz
biboumi-163ace553f3e65dcf9f97070faa5dbab0d31bac0.tar.bz2
biboumi-163ace553f3e65dcf9f97070faa5dbab0d31bac0.tar.xz
biboumi-163ace553f3e65dcf9f97070faa5dbab0d31bac0.zip
Handle all unknown IRC command by forwarding the arguments as a message body
This way, the users can receive the result of any IRC command (although not parsed nor formatted in anyway) when biboumi doesn’t support it fix #2884
Diffstat (limited to 'src/irc/irc_client.hpp')
-rw-r--r--src/irc/irc_client.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp
index 08021c1..4ab0fcb 100644
--- a/src/irc/irc_client.hpp
+++ b/src/irc/irc_client.hpp
@@ -211,6 +211,7 @@ public:
*/
void on_channel_mode(const IrcMessage& message);
void on_quit(const IrcMessage& message);
+ void on_unknown_message(const IrcMessage& message);
/**
* Return the number of joined channels
*/