aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorjgeboski <jgeboski@gmail.com>2015-01-28 18:40:47 -0500
committerjgeboski <jgeboski@gmail.com>2015-01-29 14:24:17 -0500
commit7821ee89fef7bae353b06fc4c23f3ab23093e5cc (patch)
treef406d02909d53bd8023a3653018ce9d95e38aea6 /irc.h
parent7b8238d0c9f409deaa15147bc76fc77101cb52c3 (diff)
irc_commands: implemented KICK support
With similar commands being supported, such as INVITE, the KICK command should be supported as well. The key motivation behind supporting KICK is having for having a way to remove users from group chats. As of now, there is no way for a bitlbee user to remove a user from a group chat. With no current KICK implementation, it made using this command a prime candidate for the UI side of this implementation. In addition, the KICK command has been supported in the control channel as well. This is to keep the INVITE/KICK pair consistent.
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/irc.h b/irc.h
index 8bb27427..64a3e808 100644
--- a/irc.h
+++ b/irc.h
@@ -187,6 +187,7 @@ struct irc_channel_funcs
gboolean (*part)( irc_channel_t *ic, const char *msg );
gboolean (*topic)( irc_channel_t *ic, const char *new_topic );
gboolean (*invite)( irc_channel_t *ic, irc_user_t *iu );
+ void (*kick)( irc_channel_t *ic, irc_user_t *iu, const char *msg );
gboolean (*_init)( irc_channel_t *ic );
gboolean (*_free)( irc_channel_t *ic );