diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-07-12 17:32:54 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-07-12 17:32:54 +0200 |
commit | 2c3484d089399aa4e4b65f30582e3eb0214c9adc (patch) | |
tree | 13f2ea81398cd0461ea7aa931c46c9aa1ac2caf6 /src/plugins | |
parent | 3ec3fb4e8dc5078b1680d2509aae12384a163d93 (diff) | |
download | weechat-2c3484d089399aa4e4b65f30582e3eb0214c9adc.zip |
irc: display locally away status changes in private buffers (in addition to channels) (closes #117)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/irc/irc-command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index ecb20011a..109f38b6c 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -671,7 +671,8 @@ irc_command_display_away (struct t_irc_server *server, const char *string1, for (ptr_channel = server->channels; ptr_channel; ptr_channel = ptr_channel->next_channel) { - if (ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL) + if ((ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL) + || (ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE)) { weechat_printf_tags (ptr_channel->buffer, "away_info", |