mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
disable add_to_botlist
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user