mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19: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
|
self.irc.users[uid].host = realhost
|
||||||
|
|
||||||
# Set the accountname if present
|
# Set the accountname if present
|
||||||
|
if ('+r', None) in parsedmodes and accountname == '0':
|
||||||
|
accountname = nick
|
||||||
|
|
||||||
if accountname != "0":
|
if accountname != "0":
|
||||||
self.irc.callHooks([uid, 'CLIENT_SERVICES_LOGIN', {'text': accountname}])
|
self.irc.callHooks([uid, 'CLIENT_SERVICES_LOGIN', {'text': accountname}])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user