aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/jabber/io.c')
-rw-r--r--protocols/jabber/io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/jabber/io.c b/protocols/jabber/io.c
index a28eea90..d3383375 100644
--- a/protocols/jabber/io.c
+++ b/protocols/jabber/io.c
@@ -172,6 +172,9 @@ static gboolean jabber_read_callback( gpointer data, gint fd, b_input_condition
if( st > 0 )
{
+ if( jd->flags & JFLAG_MOCK )
+ return TRUE;
+
/* Parse. */
if( xt_feed( jd->xt, buf, st ) < 0 )
{