From 7f8d5286b362613aae2c66f9ca704a44231b3023 Mon Sep 17 00:00:00 2001 From: Melissa Draper Date: Sat, 13 Jul 2013 23:28:34 +1200 Subject: [PATCH] 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 --- modules/wolfgame.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index ebbc089..86e174f 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -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))):