fix bug where wolfchat would ignore !notice and use !simple instead

This commit is contained in:
jacob1 2014-08-29 20:05:31 -04:00
parent ff8912e8a3
commit 5690e91b41

View File

@ -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):