summaryrefslogtreecommitdiff
path: root/src/irc/irc_client.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-08-16 15:59:00 +0200
committerlouiz’ <louiz@louiz.org>2016-08-16 15:59:00 +0200
commit663d4ad54a014b2ced62610098a6f5676f813d10 (patch)
tree010f335639c1e0848ca6967eb4cbcb025c8a2e38 /src/irc/irc_client.hpp
parent6bbab9d943a56e3cd20a2ac96cce1e9056d148cb (diff)
downloadbiboumi-663d4ad54a014b2ced62610098a6f5676f813d10.tar.gz
biboumi-663d4ad54a014b2ced62610098a6f5676f813d10.tar.bz2
biboumi-663d4ad54a014b2ced62610098a6f5676f813d10.tar.xz
biboumi-663d4ad54a014b2ced62610098a6f5676f813d10.zip
Forward mediated invitations (XMPP to IRC only)
Diffstat (limited to 'src/irc/irc_client.hpp')
-rw-r--r--src/irc/irc_client.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp
index fa35e65..6fa40ce 100644
--- a/src/irc/irc_client.hpp
+++ b/src/irc/irc_client.hpp
@@ -129,6 +129,7 @@ public:
* Send the LIST irc command
*/
void send_list_command();
+ void send_invitation(const std::string& chan_name, const std::string& nick);
void send_topic_command(const std::string& chan_name, const std::string& topic);
/**
* Send the QUIT irc command
@@ -235,6 +236,10 @@ public:
*/
void on_nickname_change_too_fast(const IrcMessage& message);
/**
+ * An error when we try to invite a user already in the channel
+ */
+ void on_useronchannel(const IrcMessage& message);
+ /**
* Handles most errors from the server by just forwarding the message to the user.
*/
void on_generic_error(const IrcMessage& message);