From 5800594d55a60787792073c120c16da02d1678f7 Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 27 Jul 2016 17:38:17 -0700 Subject: [PATCH] unreal: handle umode +r on burst as services login, even when no explicit accountname is set Ref #296. --- protocols/unreal.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/protocols/unreal.py b/protocols/unreal.py index 982f72e..c7a31bf 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -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}])