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 ret = None
if not nospoiler: 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()])) # 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_commands(msg_obj) plugins.data_parse_other(msg_obj)
plugins.data_parse_other(msg_obj)
return
class bot(ClientXMPP): class bot(ClientXMPP):
def __init__(self, jid, password, rooms, nick): def __init__(self, jid, password, rooms, nick):