From e3170cda8300599ab3115a14875bb11627ce62bf Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 1 Jul 2016 21:07:07 -0700 Subject: [PATCH] relay: remove another _ in opertype handling --- plugins/relay.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index c4a3317..8a84c23 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -823,7 +823,10 @@ def handle_relay_whois(irc, source, command, args): utils.add_hook(handle_relay_whois, 'PYLINK_CUSTOM_WHOIS') def handle_operup(irc, numeric, command, args): - newtype = args['text'] + '_(remote)' + """ + Handles setting oper types on relay clients during oper up. + """ + newtype = args['text'] + ' (remote)' for netname, user in relayusers[(irc.name, numeric)].items(): log.debug('(%s) relay.handle_opertype: setting OPERTYPE of %s/%s to %s', irc.name, user, netname, newtype)