1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 19:22:22 -05:00

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) if (sess == current_sess)
was_on_front_session = TRUE; 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); EMIT_SIGNAL (XP_TE_QUIT, sess, nick, reason, ip, NULL, 0);
userlist_remove_user (sess, user); userlist_remove_user (sess, user);