mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +01:00
unreal: handle umode +r on burst as services login, even when no explicit accountname is set
Ref #296.
This commit is contained in:
parent
e7ccfc9156
commit
5800594d55
@ -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