_
This commit is contained in:
parent
3e61e9ec6a
commit
3f806620e4
@ -192,8 +192,8 @@ class User(IRCContext):
|
||||
elif ident is not None and host is not None:
|
||||
users = set(_users)
|
||||
users.add(Bot)
|
||||
if self in _users: # quirk: this actually checks for the hash first (also, this is O(1))
|
||||
for user in _users:
|
||||
if self in users: # quirk: this actually checks for the hash first (also, this is O(1))
|
||||
for user in users:
|
||||
if self == user:
|
||||
self = user
|
||||
break # this may only happen once
|
||||
|
Loading…
Reference in New Issue
Block a user