mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 00:33:13 +02:00
irc: send WHO command to check away nicks only if channel was not parted
This commit is contained in:
@@ -410,7 +410,7 @@ void
|
||||
irc_channel_check_away (struct t_irc_server *server,
|
||||
struct t_irc_channel *channel)
|
||||
{
|
||||
if (channel->type == IRC_CHANNEL_TYPE_CHANNEL)
|
||||
if ((channel->type == IRC_CHANNEL_TYPE_CHANNEL) && channel->nicks)
|
||||
{
|
||||
if ((IRC_SERVER_OPTION_INTEGER(server, IRC_SERVER_OPTION_AWAY_CHECK) > 0)
|
||||
&& ((IRC_SERVER_OPTION_INTEGER(server, IRC_SERVER_OPTION_AWAY_CHECK_MAX_NICKS) == 0)
|
||||
|
||||
Reference in New Issue
Block a user