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

fix multi-line plugin output

This commit is contained in:
urlbot
2014-09-27 16:50:19 +02:00
parent ead248e7fa
commit ab63828019

View File

@@ -317,7 +317,7 @@ def data_parse_commands(data):
if None != ret:
if 'msg' in ret.keys():
if str == type(ret['msg']):
if str == type(ret['msg']) or unicode == type(ret['msg']):
ratelimit_touch(RATE_CHAT)
chat_write(ret['msg'])
else: