1
0
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:
Sebastien Helleu
2009-10-29 17:42:28 +01:00
parent 999de8bfc1
commit 2fcbd7f846
+1 -1
View File
@@ -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';