mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-02 23:54:08 +01:00
unreal: handle umode +r on burst as services login, even when no explicit accountname is set
Ref #296.
(cherry picked from commit 5800594d55
)
This commit is contained in:
parent
4fbb7b1791
commit
a56e464eb6
@ -387,6 +387,9 @@ class UnrealProtocol(TS6BaseProtocol):
|
||||
self.irc.users[uid].host = realhost
|
||||
|
||||
# Set the accountname if present
|
||||
if ('+r', None) in parsedmodes and accountname == '0':
|
||||
accountname = nick
|
||||
|
||||
if accountname != "0":
|
||||
self.irc.callHooks([uid, 'CLIENT_SERVICES_LOGIN', {'text': accountname}])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user