mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +01:00
relay: allow "relay.link.force_ts" as an alternate permission to 'link --force'
This commit is contained in:
parent
6f3813d3a4
commit
8cc838e5ca
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user