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

@ -7466,6 +7466,9 @@ if botconfig.DEBUG_MODE or botconfig.ALLOWED_NORMAL_MODE_COMMANDS:
if chan == nick:
pm(cli, nick, var.break_long_message(output, ' | '))
else:
if botconfig.DEBUG_MODE:
cli.msg(chan, var.break_long_message(output, ' | '))
else:
cli.notice(nick, var.break_long_message(output, ' | '))