1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 01:33:12 +02:00

irc: keep spaces at the end of some command arguments

The following commands are now preserving trailing spaces in arguments
received: action, allchan, allpv, allserv, away, ctcp, me, msg, notice, query,
quote, saquit, squery, wallchops, wallops.
This commit is contained in:
Sébastien Helleu
2025-02-15 20:48:46 +01:00
parent 091a17b138
commit 8fd4a80af8
2 changed files with 35 additions and 16 deletions
+3
View File
@@ -53,6 +53,9 @@ struct t_irc_channel;
return WEECHAT_RC_OK; \
}
#define IRC_COMMAND_KEEP_SPACES weechat_hook_set (ptr_hook, "keep_spaces_right", "1")
/*
* list of supported capabilities
* (enabled if supported by the server + completion in command /cap)