diff --git a/src/common/inbound.c b/src/common/inbound.c index bbdd89c6..da2cb34c 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -1093,8 +1093,7 @@ check_autojoin_channels (server *serv) strcpy (sess->waitchannel, sess->willjoinchannel); sess->willjoinchannel[0] = 0; - /* Is this channel in our favorites? */ - fav = servlist_favchan_find (serv->network, sess->waitchannel, NULL); + fav = servlist_favchan_find (serv->network, sess->waitchannel, NULL); /* Is this channel in our favorites? */ /* session->channelkey is initially unset for channels joined from the favorites. You have to fill them up manually from favorites settings. */ if (fav)