1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +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
View File
@@ -563,6 +563,8 @@ irc_completion_channel_topic_cb (const void *pointer, void *data,
(void) data;
(void) completion_item;
weechat_completion_set (completion, "add_space", "0");
if (ptr_channel && ptr_channel->topic && ptr_channel->topic[0])
{
if (irc_server_strncasecmp (ptr_server, ptr_channel->topic,