1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

irc: display locally away status changes in private buffers (in addition to channels) (closes #117)

This commit is contained in:
Sébastien Helleu
2014-07-12 17:32:54 +02:00
parent 3ec3fb4e8d
commit 2c3484d089
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -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",