3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-23 19:19:31 +01:00

relay: allow "relay.link.force_ts" as an alternate permission to 'link --force'

This commit is contained in:
James Lu 2018-06-08 15:56:42 -07:00
parent 6f3813d3a4
commit 8cc838e5ca

View File

@ -2314,7 +2314,7 @@ def link(irc, source, args):
return
if args.force_ts:
permissions.check_permissions(irc, source, ['relay.link.force'])
permissions.check_permissions(irc, source, ['relay.link.force_ts', 'relay.link.force'])
log.info("(%s) relay: Forcing link %s%s -> %s%s", irc.name, irc.name, localchan, remotenet,
args.channel)
else: