irctk

libircclient binding for scripts
git clone https://a3nm.net/git/irctk/
Log | Files | Refs | README

commit 837d2fb62748650db87abb4d5febb7e2a2f5a805
parent 97c2a291efe961584c964d9f35ee2befa6d45c12
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sat, 21 Jul 2012 02:01:58 +0200

add /mode command

Diffstat:
irctk.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/irctk.c b/irctk.c @@ -1065,6 +1065,8 @@ int do_cmd_msg(irc_session_t *s, char *chan, char* line) char *arg; if ((arg = MATCH_CMD(line, "nick"))) { rsl = irc_cmd_nick (s, arg); + } else if ((arg = MATCH_CMD(line, "mode"))) { + rsl = irc_cmd_channel_mode (s, chan, arg); } else if ((arg = MATCH_CMD0(line, "part"))) { if (!*arg || *arg == '\n') { rsl = irc_cmd_part(s, chan);