diff --git a/urlbot.py b/urlbot.py index 2788935..cef5f50 100755 --- a/urlbot.py +++ b/urlbot.py @@ -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):