mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 04:46:37 +02:00
Fix bug with IRC CTCP messages when char 0x01 is in message
This commit is contained in:
@@ -809,7 +809,7 @@ irc_ctcp_recv (struct t_irc_server *server, const char *command,
|
||||
|
||||
while (arguments && arguments[0])
|
||||
{
|
||||
pos_end = strchr (arguments + 1, '\01');
|
||||
pos_end = strrchr (arguments + 1, '\01');
|
||||
if (pos_end)
|
||||
pos_end[0] = '\0';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user