diff options
author | RichardHitt <rbh00@netcom.com> | 2012-12-03 13:00:11 -0800 |
---|---|---|
committer | RichardHitt <rbh00@netcom.com> | 2012-12-03 13:00:11 -0800 |
commit | 813691f1ec03a12e6792f066e6d70451132a588f (patch) | |
tree | 9715cb3b780279774f65faee2b647974e24ac8c6 | |
parent | 3d43f755fcb510cfd9c5553ae3c04561a87c82d2 (diff) |
Fix warning
-rw-r--r-- | src/common/inbound.c | 2 |
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); |