From 6acfbb41253bfe8c9093636612b3c48b8f25eb09 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 2 Apr 2016 11:51:29 -0700 Subject: [PATCH] unreal: case-desensitize legacy server names when handling user introductions from them --- protocols/unreal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/unreal.py b/protocols/unreal.py index 4be065e..a78ac00 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -600,7 +600,7 @@ class UnrealProtocol(TS6BaseProtocol): log.debug('(%s) got legacy NICK args: %s', self.irc.name, ' '.join(args)) new_args = args[:] # Clone the old args list - servername = new_args[5] # Get the name of the users' server. + servername = new_args[5].lower() # Get the name of the users' server. # Fake a UID and put it where it belongs in the new-style UID command. fake_uid = '%s@%s' % (args[0], self.legacy_nickcount)