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

do not stop processing commands after URL parsing

This commit is contained in:
urlbot
2015-07-13 22:57:10 +02:00
parent 654e6fdaab
commit d427ea1809

View File

@@ -236,14 +236,12 @@ def handle_msg(msg_obj):
ret = None
if not nospoiler:
ret = extract_url(content, msg_obj)
extract_url(content, msg_obj)
# print(' '.join(["%s->%s" % (x, msg_obj[x]) for x in msg_obj.keys()]))
if True != ret:
plugins.data_parse_commands(msg_obj)
plugins.data_parse_other(msg_obj)
return
plugins.data_parse_commands(msg_obj)
plugins.data_parse_other(msg_obj)
class bot(ClientXMPP):
def __init__(self, jid, password, rooms, nick):