fix pingif for hosts when DISABLE_ACCOUNTS is true on networks that support accounts
This commit is contained in:
parent
6f5f09b76e
commit
bb8ae99310
@ -683,12 +683,13 @@ def join_timer_handler(var):
|
||||
return
|
||||
|
||||
temp = user.lower()
|
||||
if temp.account is not None:
|
||||
if not var.DISABLE_ACCOUNTS and temp.account is not None:
|
||||
if temp.account in chk_acc:
|
||||
to_ping.append(temp)
|
||||
var.PINGED_ALREADY_ACCS.add(temp.account)
|
||||
return
|
||||
|
||||
elif not var.ACCOUNTS_ONLY:
|
||||
if not var.ACCOUNTS_ONLY:
|
||||
if temp.userhost in checker:
|
||||
to_ping.append(temp)
|
||||
var.PINGED_ALREADY.add(temp.userhost)
|
||||
|
Loading…
Reference in New Issue
Block a user