aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/io.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-10-01 11:31:41 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-10-01 11:31:41 +0200
commit6baca2a2910d0b6663b54ef302820d9ffbbf5eee (patch)
treecf0d5c1b95f5401d7e3d2a3eae136c4d242bb74f /protocols/jabber/io.c
parent022df46b52683f49a1a48e15a440d1f6b81adfdd (diff)
Some initial hooks/stuff for privacy lists, and fixed a crash bug on
connecting to Google Talk.
Diffstat (limited to 'protocols/jabber/io.c')
-rw-r--r--protocols/jabber/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/jabber/io.c b/protocols/jabber/io.c
index 3bc967e0..f62e059a 100644
--- a/protocols/jabber/io.c
+++ b/protocols/jabber/io.c
@@ -334,7 +334,7 @@ static xt_status jabber_pkt_features( struct xt_node *node, gpointer data )
to bind/initialize the session. */
if( jd->flags & JFLAG_AUTHENTICATED && ( jd->flags & ( JFLAG_WAIT_BIND | JFLAG_WAIT_SESSION ) ) == 0 )
{
- if( !jabber_get_roster( gc ) )
+ if( !jabber_get_roster( gc ) || !jabber_get_privacy( gc ) )
return XT_ABORT;
}