diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-08-08 09:26:40 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-08-08 09:26:40 +0200 |
commit | 370769f7594dbab367172f15902e28b1a7b7f436 (patch) | |
tree | bce4a5ad144d80c283bb2f11e024e36bd2cfb476 | |
parent | 9313edec34b760ed84529e77e43a952b93e66b40 (diff) | |
download | weechat-370769f7594dbab367172f15902e28b1a7b7f436.zip |
irc: send WHO command to check away nicks only if channel was not parted
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/plugins/irc/irc-channel.c | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ WeeChat ChangeLog ================= Sébastien Helleu <flashcode@flashtux.org> -v0.3.6-dev, 2011-08-05 +v0.3.6-dev, 2011-08-08 Version 0.3.6 (under dev!) @@ -55,6 +55,7 @@ Version 0.3.6 (under dev!) hdata_string, hdata_pointer, hdata_time, hdata_get_string * api: fix bug with function config_set_desc_plugin (use immediately description for option when function is called) +* irc: send WHO command to check away nicks only if channel was not parted * irc: fix crash when malformed IRC message 352 (WHO) is received (bug #33790) * irc: fix crash when command "/buffer close" is used in a server command to close server buffer during connection (bug #33763) diff --git a/src/plugins/irc/irc-channel.c b/src/plugins/irc/irc-channel.c index e58847283..5e1ba5d99 100644 --- a/src/plugins/irc/irc-channel.c +++ b/src/plugins/irc/irc-channel.c @@ -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) |