mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
small fixes
This commit is contained in:
@@ -27,7 +27,7 @@ def pluginfunction(name, desc, plugin_type, ratelimit_class = RATE_GLOBAL, enabl
|
|||||||
|
|
||||||
def decorate(f):
|
def decorate(f):
|
||||||
f.is_plugin = True
|
f.is_plugin = True
|
||||||
f.is_enabled = True
|
f.is_enabled = enabled
|
||||||
f.plugin_name = name
|
f.plugin_name = name
|
||||||
f.plugin_desc = desc
|
f.plugin_desc = desc
|
||||||
f.plugin_type = plugin_type
|
f.plugin_type = plugin_type
|
||||||
@@ -525,7 +525,7 @@ def command_wp(argv,lang="de",**args):
|
|||||||
|
|
||||||
logger('plugin', 'wp plugin called')
|
logger('plugin', 'wp plugin called')
|
||||||
|
|
||||||
query = " ".join(argv[1:])
|
query = "_".join(argv[1:])
|
||||||
|
|
||||||
if query == "":
|
if query == "":
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user