From 5690e91b41eec0d007c30491abfb2acbd2dab7a5 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Fri, 29 Aug 2014 20:05:31 -0400 Subject: [PATCH] fix bug where wolfchat would ignore !notice and use !simple instead --- modules/wolfgame.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 7c2f270..f394a67 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -4176,17 +4176,17 @@ def relay(cli, nick, rest): rest = rest[7:-1] mass_privmsg(cli, [guy for guy in badguys if (guy in var.PLAYERS and - var.PLAYERS[guy]["cloak"] not in var.SIMPLE_NOTIFY)], "\02{0}\02{1}".format(nick, rest)) + var.PLAYERS[guy]["cloak"] not in var.PREFER_NOTICE)], "\02{0}\02{1}".format(nick, rest)) mass_privmsg(cli, [guy for guy in badguys if (guy in var.PLAYERS and - var.PLAYERS[guy]["cloak"] in var.SIMPLE_NOTIFY)], nick+rest, True) + var.PLAYERS[guy]["cloak"] in var.PREFER_NOTICE)], nick+rest, True) else: mass_privmsg(cli, [guy for guy in badguys if (guy in var.PLAYERS and - var.PLAYERS[guy]["cloak"] not in var.SIMPLE_NOTIFY)], "\02{0}\02 says: {1}".format(nick, rest)) + var.PLAYERS[guy]["cloak"] not in var.PREFER_NOTICE)], "\02{0}\02 says: {1}".format(nick, rest)) mass_privmsg(cli, [guy for guy in badguys if (guy in var.PLAYERS and - var.PLAYERS[guy]["cloak"] in var.SIMPLE_NOTIFY)], "\02{0}\02 says: {1}".format(nick, rest), True) + var.PLAYERS[guy]["cloak"] in var.PREFER_NOTICE)], "\02{0}\02 says: {1}".format(nick, rest), True) @pmcmd("") def ctcp_ping(cli, nick, msg):