rename func

This commit is contained in:
Thorsten
2015-11-28 15:53:50 +01:00
parent c4c59dd243
commit 7a059387b4

View File

@@ -1013,9 +1013,9 @@ def remove_from_botlist(argv, **args):
return False
@pluginfunction("set_status", "set bot status", ptypes_COMMAND)
@pluginfunction("set-status", "set bot status", ptypes_COMMAND)
def set_status(argv, **args):
if 'set_status' != argv[0] or len(argv) != 2:
if 'set-status' != argv[0] or len(argv) != 2:
return
if argv[1] == 'mute' and args['reply_user'] == conf('bot_owner'):