Send !revealroles output to channel if called in-channel in debug mode
This was broken by the previous commit.
This commit is contained in:
parent
6f64be45ed
commit
e714e4216c
@ -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, ' | '))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user