1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

irc: keep spaces at the end of /topic command arguments

This commit is contained in:
Sébastien Helleu
2025-02-15 23:32:33 +01:00
parent c7d21a3ea6
commit 9285afc3e2
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -8071,7 +8071,7 @@ irc_command_init ()
WEECHAT_CMD_ARGS_DESC(
N_("target: query time from specified server")),
NULL, &irc_command_time, NULL, NULL);
weechat_hook_command (
ptr_hook = weechat_hook_command (
"topic",
N_("get/set channel topic"),
/* TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated */
@@ -8081,6 +8081,7 @@ irc_command_init ()
N_("topic: new topic"),
N_("raw[-delete]: delete channel topic")),
"%(irc_channel_topic)|-delete", &irc_command_topic, NULL, NULL);
IRC_COMMAND_KEEP_SPACES;
weechat_hook_command (
"trace",
N_("find the route to specific server"),