Exclude illegal_joins (stasised people) from the !ping list.
Pinging people who are in stasis to join games is both futile and inflammatory. Closes issue #16
This commit is contained in:
parent
ecd62cf0ef
commit
7f8d5286b3
@ -262,6 +262,7 @@ def pinger(cli, nick, chan, rest):
|
||||
if (all((not var.OPT_IN_PING,
|
||||
'G' not in status, # not /away
|
||||
'+' not in status, # not already joined (voiced)
|
||||
cloak not in var.illegal_joins, # not in stasis
|
||||
cloak not in var.AWAY)) or
|
||||
all((var.OPT_IN_PING, '+' not in status,
|
||||
cloak in var.PING_IN))):
|
||||
|
Loading…
x
Reference in New Issue
Block a user