Fix commit dc156da
This reverts one of the changes made by that commit. Not PMing fake nicks can make debugging impossible without real players.
This commit is contained in:
parent
3c53ae19e8
commit
8fe1cf9ef5
@ -172,8 +172,6 @@ def mass_mode(cli, md):
|
|||||||
cli.mode(botconfig.CHANNEL, arg1, arg2)
|
cli.mode(botconfig.CHANNEL, arg1, arg2)
|
||||||
|
|
||||||
def pm(cli, target, message): # message either privmsg or notice, depending on user settings
|
def pm(cli, target, message): # message either privmsg or notice, depending on user settings
|
||||||
if is_fake_nick(target) and botconfig.DEBUG_MODE:
|
|
||||||
return
|
|
||||||
if target in var.USERS and var.USERS[target]["cloak"] in var.PREFER_NOTICE:
|
if target in var.USERS and var.USERS[target]["cloak"] in var.PREFER_NOTICE:
|
||||||
cli.notice(target, message)
|
cli.notice(target, message)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user