From c55b6703c57f0aac2397d8888e265b8be0ec71f9 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 18 Apr 2015 21:27:16 -0400 Subject: [PATCH] don't allow fjoining users that aren't in the channel --- src/wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index ec77679..c22dbfd 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -1357,7 +1357,7 @@ def fjoin(cli, nick, chan, rest): continue ul = list(var.USERS.keys()) ull = [u.lower() for u in ul] - if tojoin.lower() not in ull: + if tojoin.lower() not in ull or not var.USERS[tojoin]["inchan"]: if not is_fake_nick(tojoin) or not botconfig.DEBUG_MODE: if not noticed: # important cli.msg(chan, nick+(": You may only fjoin "+