fix the bot pinging everyone instead of just people using !pingif if DISABLE_ACCOUNTS is on
This commit is contained in:
parent
5a2a098db6
commit
3ce856818a
@ -976,8 +976,9 @@ def join_timer_handler(cli):
|
||||
nick == botnick or nick in pl):
|
||||
return
|
||||
|
||||
to_ping.append(nick)
|
||||
var.PINGED_ALREADY.add(host)
|
||||
if host in checker:
|
||||
to_ping.append(nick)
|
||||
var.PINGED_ALREADY.add(host)
|
||||
|
||||
@hook("whospcrpl", hookid=387)
|
||||
def ping_altpingers(cli, server, nick, ident, cloak, _, user, status, acc):
|
||||
|
Loading…
x
Reference in New Issue
Block a user