From 3c3ae104ba7c01ab9b62ad865e533d1625de6b86 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 23 Jan 2016 12:57:10 -0800 Subject: [PATCH] unreal: remove bad check for users connecting via IPv4 This fixes a crash when... anyone using IPv4 connects. --- protocols/unreal.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/protocols/unreal.py b/protocols/unreal.py index b2ecb34..01da7e8 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -352,8 +352,6 @@ class UnrealProtocol(TS6BaseProtocol): # in a line, should it be mirrored to other networks. if ip.startswith(':'): ip = '0' + ip - else: - raise ProtocolError("Invalid number of bits in IP address field (got %s, expected 4 or 16)." % len(ipbits)) realname = args[-1] self.irc.users[uid] = IrcUser(nick, ts, uid, ident, host, realname, realhost, ip)