diff options
author | dequis <dx@dxzone.com.ar> | 2016-03-12 21:10:14 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2016-03-12 21:10:14 -0300 |
commit | b1d9c06e9c1f5ca9b1490daca75efbdb76190f54 (patch) | |
tree | e83a753d50b4cd00ba085b6e68d68f8d5a29bc64 | |
parent | 0843bbedee1cac706b94c7ed01202ebd40c036e2 (diff) |
jabber: return XT_ABORT after failed IQ auth attempts
-rw-r--r-- | protocols/jabber/iq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/jabber/iq.c b/protocols/jabber/iq.c index 8175f139..a001ce8c 100644 --- a/protocols/jabber/iq.c +++ b/protocols/jabber/iq.c @@ -233,7 +233,7 @@ static xt_status jabber_do_iq_auth(struct im_connection *ic, struct xt_node *nod if (!(query = xt_find_node(node->children, "query"))) { imcb_log(ic, "Warning: Received incomplete IQ packet while authenticating"); imc_logout(ic, FALSE); - return XT_HANDLED; + return XT_ABORT; } /* Time to authenticate ourselves! */ @@ -286,7 +286,7 @@ static xt_status jabber_finish_iq_auth(struct im_connection *ic, struct xt_node if (!(type = xt_find_attr(node, "type"))) { imcb_log(ic, "Warning: Received incomplete IQ packet while authenticating"); imc_logout(ic, FALSE); - return XT_HANDLED; + return XT_ABORT; } if (strcmp(type, "error") == 0) { |