do not stop processing commands after URL parsing
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user