From e8958962dd5a8441a023258096322080fc9969a9 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 15 Oct 2017 01:54:39 -0700 Subject: [PATCH] unreal: fix authentication-in-progress check in handle_server --- protocols/unreal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/unreal.py b/protocols/unreal.py index 05186db..bc25b9e 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -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 "