From 8cc838e5cad5612a73b83ff145a0eade4c81ab9e Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 8 Jun 2018 15:56:42 -0700 Subject: [PATCH] relay: allow "relay.link.force_ts" as an alternate permission to 'link --force' --- plugins/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index ff6269c..a8f47fb 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -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: