From 813691f1ec03a12e6792f066e6d70451132a588f Mon Sep 17 00:00:00 2001 From: RichardHitt Date: Mon, 3 Dec 2012 13:00:11 -0800 Subject: Fix warning --- src/common/inbound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/common/inbound.c b/src/common/inbound.c index 0c5bccd3..7b4c67e8 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -758,7 +758,7 @@ inbound_quit (server *serv, char *nick, char *ip, char *reason) { if (sess == current_sess) was_on_front_session = TRUE; - if (user = userlist_find (sess, nick)) + if ((user = userlist_find (sess, nick))) { EMIT_SIGNAL (XP_TE_QUIT, sess, nick, reason, ip, NULL, 0); userlist_remove_user (sess, user); -- cgit 1.4.1