mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-20 07:20:59 +01:00
unreal: fix wrong hook name for legacy user introduction
(cherry picked from commit 4935ef521e047b02339315b8d55849cd74192444)
This commit is contained in:
parent
e8b7116888
commit
a63e2557be
@ -446,7 +446,10 @@ class UnrealProtocol(TS6BaseProtocol):
|
|||||||
if not accountname.isdigit():
|
if not accountname.isdigit():
|
||||||
self.irc.callHooks([uid, 'CLIENT_SERVICES_LOGIN', {'text': accountname}])
|
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):
|
def handle_pass(self, numeric, command, args):
|
||||||
# <- PASS :abcdefg
|
# <- PASS :abcdefg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user