Fix warning

This commit is contained in:
RichardHitt 2012-12-03 13:00:11 -08:00
parent 3d43f755fc
commit 813691f1ec

View File

@ -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);