From 1fe1a7bfb3504d0b1c262c82dba3a13c30d06a2c Mon Sep 17 00:00:00 2001 From: "Vgr E. Barry" Date: Sat, 29 Aug 2015 20:56:15 -0400 Subject: [PATCH] Fix leftovers from the data types refactor --- src/wolfgame.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index c076414..b4b5543 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -3359,8 +3359,8 @@ def rename_player(cli, prefix, nick): cli.msg(chan, "\u0002{0}\u0002 has returned to the village.".format(nick)) for r,rset in var.ORIGINAL_ROLES.items(): if "(dced)"+nick in rset: - rlist.remove("(dced)"+nick) - rlist.add(nick) + rset.remove("(dced)"+nick) + rset.add(nick) if nick in var.DCED_PLAYERS.keys(): var.PLAYERS[nick] = var.DCED_PLAYERS.pop(nick) @@ -7233,7 +7233,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].add(command) + variable[acc].append(command) if mode == "allow": var.add_allow_acc(acc, command) else: @@ -7288,7 +7288,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[cloak]: - variable[cloak].add(command) + variable[cloak].append(command) if mode == "allow": var.add_allow(cloak, command) else: