mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 19:52:53 +01:00
unreal: fix authentication-in-progress check in handle_server
This commit is contained in:
parent
1470e7691f
commit
e8958962dd
@ -461,7 +461,7 @@ class UnrealProtocol(TS6BaseProtocol):
|
||||
introducing legacy (non-SID) servers."""
|
||||
# <- SERVER unreal.midnight.vpn 1 :U3999-Fhin6OoEM UnrealIRCd test server
|
||||
sname = args[0]
|
||||
if numeric == self.uplink and not self.connected.is_set(): # We're doing authentication
|
||||
if self.uplink not in self.servers: # We're doing authentication
|
||||
for cap in self.needed_caps:
|
||||
if cap not in self.caps:
|
||||
raise ProtocolError("Not all required capabilities were met "
|
||||
|
Loading…
Reference in New Issue
Block a user