disable add_to_botlist

This commit is contained in:
Thorsten
2016-05-27 20:38:40 +02:00
parent fa9e970eeb
commit 1c0f7a7024

View File

@@ -621,8 +621,9 @@ def remove_from_botlist(argv, **args):
return False
@pluginfunction("add-to-botlist", "add a user to the botlist", ptypes.COMMAND)
@pluginfunction("add-to-botlist", "add a user to the botlist", ptypes.COMMAND, enabled=False)
def add_to_botlist(argv, **args):
return {'msg': 'feature disabled until channel separation'}
if not argv:
return {'msg': "wrong number of arguments!"}
suspect = argv[0]