aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/bee_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/bee_user.c')
-rw-r--r--protocols/bee_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/bee_user.c b/protocols/bee_user.c
index 2c11ca1d..cbcebe33 100644
--- a/protocols/bee_user.c
+++ b/protocols/bee_user.c
@@ -74,7 +74,7 @@ bee_user_t *bee_user_by_handle( bee_t *bee, struct im_connection *ic, const char
{
bee_user_t *bu = l->data;
- if( bu->ic == ic && ic->acc->prpl->handle_cmp( bu->handle, handle ) )
+ if( bu->ic == ic && ic->acc->prpl->handle_cmp( bu->handle, handle ) == 0 )
return bu;
}