mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 14:26:39 +02:00
Display IRC command 324 (channel modes) on server buffer if channel is not open
This commit is contained in:
@@ -2510,6 +2510,21 @@ irc_protocol_cmd_324 (struct t_irc_server *server, const char *command,
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat_printf_tags (irc_msgbuffer_get_target_buffer (server, NULL,
|
||||
command, NULL,
|
||||
NULL),
|
||||
irc_protocol_tags (command, "irc_numeric"),
|
||||
_("%sMode %s%s %s[%s%s%s]"),
|
||||
weechat_prefix ("network"),
|
||||
IRC_COLOR_CHAT_CHANNEL,
|
||||
argv[3],
|
||||
IRC_COLOR_CHAT_DELIMITERS,
|
||||
IRC_COLOR_CHAT,
|
||||
(argv_eol[4][0] == ':') ? argv_eol[4] + 1 : argv_eol[4],
|
||||
IRC_COLOR_CHAT_DELIMITERS);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user