From 5e1fb7dbcfe512213f183ff121587252a86d0541 Mon Sep 17 00:00:00 2001 From: skizzerz Date: Sat, 5 Sep 2015 22:01:25 -0500 Subject: [PATCH] fix fallow/fdeny --- src/wolfgame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index 4953e3a..3b86adc 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -7305,7 +7305,7 @@ def allow_deny(cli, nick, chan, rest, mode): if not rem: if command in COMMANDS and command not in ("fdeny", "fallow", "fsend", "exec", "eval") and command not in variable[acc]: - variable[acc].append(command) + variable[acc].add(command) if mode == "allow": var.add_allow_acc(acc, command) else: @@ -7364,7 +7364,7 @@ def allow_deny(cli, nick, chan, rest, mode): if not rem: if command in COMMANDS and command not in ("fdeny", "fallow", "fsend", "exec", "eval") and command not in variable[hostmask]: - variable[hostmask].append(command) + variable[hostmask].add(command) if mode == "allow": var.add_allow(hostmask, command) else: