commit 1e385321e5320a12e4d921e544192ab4d66202f2
parent 6189d76c30e0114e5ee19ae26add92658a55a46a
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sat, 21 Jul 2012 02:03:06 +0200
invite on own channel by default
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/irctk.c b/irctk.c
@@ -1108,7 +1108,7 @@ int do_cmd_msg(irc_session_t *s, char *chan, char* line)
if (!IS_END(*arg)) {
rsl = irc_cmd_invite(s, inick, arg);
} else {
- info("Not enough arguments for command: %s", line);
+ rsl = irc_cmd_invite(s, inick, chan);
}
free(inick);
} else if ((arg = MATCH_CMD(line, "kick"))) {