aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber_util.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-03-12 19:35:51 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2010-03-12 19:35:51 +0000
commitdde9d5710cd6392592c1417032933f0ba4299d9c (patch)
tree21478dbe2d958649febc03bed0b1c187dd4633ce /protocols/jabber/jabber_util.c
parentbe609ff2b0ca885612c0e6d81f82c4f26ed4f58d (diff)
Fixed jabber_util unittest. It passes, yet something still seems to be
broken. :-(
Diffstat (limited to 'protocols/jabber/jabber_util.c')
-rw-r--r--protocols/jabber/jabber_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/jabber/jabber_util.c b/protocols/jabber/jabber_util.c
index 6e103609..a0266d3e 100644
--- a/protocols/jabber/jabber_util.c
+++ b/protocols/jabber/jabber_util.c
@@ -457,7 +457,7 @@ struct jabber_buddy *jabber_buddy_by_jid( struct im_connection *ic, char *jid_,
}
if( bud == NULL && ( flags & GET_BUDDY_CREAT ) &&
- ( imcb_find_buddy( ic, jid ) || bare_exists ) )
+ ( bare_exists || imcb_find_buddy( ic, jid ) ) )
{
*s = '/';
bud = jabber_buddy_add( ic, jid );