1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

disable repeater

This commit is contained in:
Thorsten
2016-05-27 20:44:35 +02:00
parent 5ffa3f0dc7
commit 5b9ed2ef94

View File

@@ -775,8 +775,9 @@ def raise_an_error(argv, **args):
raise RuntimeError("Exception for debugging") raise RuntimeError("Exception for debugging")
@pluginfunction('repeat', 'repeat the last message', ptypes.COMMAND) @pluginfunction('repeat', 'repeat the last message', ptypes.COMMAND, enabled=False)
def repeat_message(argv, **args): def repeat_message(argv, **args):
return {'msg': 'disabled until channel separation'}
return { return {
'msg': args['stack'][-1]['body'] 'msg': args['stack'][-1]['body']
} }