mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
unreal: fix wrong hook name for legacy user introduction
(cherry picked from commit 4935ef521e
)
This commit is contained in:
parent
e8b7116888
commit
a63e2557be
@ -446,7 +446,10 @@ class UnrealProtocol(TS6BaseProtocol):
|
||||
if not accountname.isdigit():
|
||||
self.irc.callHooks([uid, 'CLIENT_SERVICES_LOGIN', {'text': accountname}])
|
||||
|
||||
return {'uid': uid, 'ts': ts, 'nick': nick, 'realhost': realhost, 'host': host, 'ident': ident, 'ip': ip}
|
||||
# parse_as is used here to prevent legacy user introduction from being confused
|
||||
# with a nick change.
|
||||
return {'uid': uid, 'ts': ts, 'nick': nick, 'realhost': realhost, 'host': host,
|
||||
'ident': ident, 'ip': ip, 'parse_as': 'UID'}
|
||||
|
||||
def handle_pass(self, numeric, command, args):
|
||||
# <- PASS :abcdefg
|
||||
|
Loading…
Reference in New Issue
Block a user