From 7fdf95074c415bfd92488c2a1177306cd22f10eb Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 1 Aug 2021 23:03:48 +0200 Subject: [PATCH] Qalculate: require trusted permission (#105) --- Qalculate/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Qalculate/plugin.py b/Qalculate/plugin.py index 1780de7..23e8305 100644 --- a/Qalculate/plugin.py +++ b/Qalculate/plugin.py @@ -33,7 +33,7 @@ except ImportError: class Qalculate(callbacks.Plugin): """Frontend for the Qalculate! desktop calculator""" - @wrap([getopts({'update-exrates': ''}), 'text']) + @wrap([('checkCapability', 'trusted'), getopts({'update-exrates': ''}), 'text']) def calc(self, irc, msg, args, optlist, expression): """[--update-exrates]