mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 09:43:13 +02:00
irc: decode/encode only text in IRC messages and not the headers (bug #29886, closes #218, closes #451)
This commit is contained in:
@@ -835,7 +835,7 @@ irc_notify_hsignal_cb (void *data, const char *signal,
|
||||
for (i = 0; i < num_messages; i++)
|
||||
{
|
||||
irc_message_parse (ptr_server, messages[i], NULL, NULL, NULL,
|
||||
NULL, NULL, NULL, &arguments);
|
||||
NULL, NULL, NULL, &arguments, NULL, NULL);
|
||||
if (arguments)
|
||||
{
|
||||
pos = strchr (arguments, ' ');
|
||||
@@ -917,7 +917,8 @@ irc_notify_hsignal_cb (void *data, const char *signal,
|
||||
for (i = 0; i < num_messages; i++)
|
||||
{
|
||||
irc_message_parse (ptr_server, messages[0], NULL, NULL,
|
||||
NULL, NULL, &irc_cmd, NULL, &arguments);
|
||||
NULL, NULL, &irc_cmd, NULL, &arguments,
|
||||
NULL, NULL);
|
||||
if (irc_cmd && arguments)
|
||||
{
|
||||
if (strcmp (irc_cmd, "401") == 0)
|
||||
|
||||
Reference in New Issue
Block a user