From 5a2623b93ff44662b51f2c3464b34d84e860130d Mon Sep 17 00:00:00 2001 From: Peter Dahlberg Date: Fri, 6 Feb 2015 12:47:27 +0100 Subject: [PATCH] small fixes --- plugins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins.py b/plugins.py index bd1d316..606f32d 100644 --- a/plugins.py +++ b/plugins.py @@ -27,7 +27,7 @@ def pluginfunction(name, desc, plugin_type, ratelimit_class = RATE_GLOBAL, enabl def decorate(f): f.is_plugin = True - f.is_enabled = True + f.is_enabled = enabled f.plugin_name = name f.plugin_desc = desc f.plugin_type = plugin_type @@ -525,7 +525,7 @@ def command_wp(argv,lang="de",**args): logger('plugin', 'wp plugin called') - query = " ".join(argv[1:]) + query = "_".join(argv[1:]) if query == "": return {