From 7b0302eaeba054b1f9792b92ef003af4e120765e Mon Sep 17 00:00:00 2001 From: Thorsten S Date: Wed, 23 Dec 2015 18:58:27 +0100 Subject: [PATCH] import future --- plugins.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins.py b/plugins.py index 46d7979..db31d17 100644 --- a/plugins.py +++ b/plugins.py @@ -625,6 +625,13 @@ def command_cookie(argv, **args): } +@pluginfunction('terminate', 'hidden prototype', ptypes_COMMAND, ratelimit_class=RATE_FUN | RATE_GLOBAL) +def command_cookie(argv, **args): + return { + 'msg': 'insufficient power supply, please connect fission module' + } + + @pluginfunction('plugin', "'disable' or 'enable' plugins", ptypes_COMMAND) def command_plugin_activation(argv, **args): if argv[0] != 'plugin' or len(argv) == 1: