Send !revealroles output to channel if called in-channel in debug mode

This was broken by the previous commit.
This commit is contained in:
nyuszika7h 2015-05-24 17:55:59 +02:00
parent 6f64be45ed
commit e714e4216c

View File

@ -7467,7 +7467,10 @@ if botconfig.DEBUG_MODE or botconfig.ALLOWED_NORMAL_MODE_COMMANDS:
if chan == nick: if chan == nick:
pm(cli, nick, var.break_long_message(output, ' | ')) pm(cli, nick, var.break_long_message(output, ' | '))
else: else:
cli.notice(nick, var.break_long_message(output, ' | ')) if botconfig.DEBUG_MODE:
cli.msg(chan, var.break_long_message(output, ' | '))
else:
cli.notice(nick, var.break_long_message(output, ' | '))
@cmd("fgame", admin_only=True, raw_nick=True, join=True) @cmd("fgame", admin_only=True, raw_nick=True, join=True)