fix being unable to join fake players in debug mode
It said they were in stasis for -1 games ... This change should only affect fake nicks, since if the user isn't in var.USERS they can't join anyway
This commit is contained in:
parent
356368d7bb
commit
cd8a3de8b3
@ -1156,7 +1156,7 @@ def join_player(cli, player, chan, who = None, forced = False):
|
|||||||
|
|
||||||
stasis = is_user_stasised(player)
|
stasis = is_user_stasised(player)
|
||||||
|
|
||||||
if stasis:
|
if stasis > 0:
|
||||||
if forced and stasis == 1:
|
if forced and stasis == 1:
|
||||||
for hostmask in list(var.STASISED.keys()):
|
for hostmask in list(var.STASISED.keys()):
|
||||||
if var.match_hostmask(hostmask, player, ident, host):
|
if var.match_hostmask(hostmask, player, ident, host):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user