mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19:23 +01:00
relay: remove another _ in opertype handling
This commit is contained in:
parent
6c8731a55a
commit
e3170cda83
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user