irctk

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

commit 2f43584d23bca50f4ed170a507f51eea65c3c89d
parent 6062ad001db57c4e986b2c65001b2c5e38a39617
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun, 23 Jun 2013 15:35:54 +0200

do not try to join non-channels

Diffstat:
irctk.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/irctk.c b/irctk.c @@ -1090,7 +1090,7 @@ int do_cmd_msg(irc_session_t *s, char *chan, char* line) } else if (*arg == ' ') { to_join = arg; } - if (to_join) { + if (to_join && to_join[0] == '#') { if (args.join) { // now, get the right index int pw_pos2 = get_password(to_join);