summary refs log tree commit diff stats
path: root/src/common/inbound.c
diff options
context:
space:
mode:
authorRichardHitt <rbh00@netcom.com>2012-12-03 13:00:11 -0800
committerRichardHitt <rbh00@netcom.com>2012-12-03 13:00:11 -0800
commit813691f1ec03a12e6792f066e6d70451132a588f (patch)
tree9715cb3b780279774f65faee2b647974e24ac8c6 /src/common/inbound.c
parent3d43f755fcb510cfd9c5553ae3c04561a87c82d2 (diff)
Fix warning
Diffstat (limited to 'src/common/inbound.c')
-rw-r--r--src/common/inbound.c2
1 files changed, 1 insertions, 1 deletions
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);