mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-30 07:21:12 -05:00
Qalculate: require trusted permission (#105)
This commit is contained in:
parent
62387421d8
commit
7fdf95074c
@ -33,7 +33,7 @@ except ImportError:
|
|||||||
class Qalculate(callbacks.Plugin):
|
class Qalculate(callbacks.Plugin):
|
||||||
"""Frontend for the Qalculate! desktop calculator"""
|
"""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):
|
def calc(self, irc, msg, args, optlist, expression):
|
||||||
"""[--update-exrates] <expression>
|
"""[--update-exrates] <expression>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user