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

irc: do not allow send of empty messages (single line or multiline)

This commit is contained in:
Sébastien Helleu
2023-05-14 14:09:49 +02:00
parent ac83130dd7
commit 283c9d7ccf
3 changed files with 66 additions and 5 deletions
+1
View File
@@ -46,6 +46,7 @@ extern struct t_hashtable *irc_message_parse_to_hashtable (struct t_irc_server *
extern struct t_hashtable *irc_message_parse_cap_value (const char *value);
extern void irc_message_parse_cap_multiline_value (struct t_irc_server *server,
const char *value);
extern int irc_message_is_empty (const char *message);
extern char *irc_message_convert_charset (const char *message,
int pos_start,
const char *modifier,