mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 03:33:10 +01:00
unreal: case-desensitize legacy server names when handling user introductions from them
This commit is contained in:
parent
62da384cae
commit
6acfbb4125
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user