1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 21:36:37 +02:00

Fixed bug in charset plugin: now encode/decode channels/nicks in IRC messages (after command)

This commit is contained in:
Sebastien Helleu
2006-11-09 22:33:44 +00:00
parent ef039c99da
commit 045ceb961f
2 changed files with 2 additions and 12 deletions
+1 -6
View File
@@ -256,6 +256,7 @@ weechat_charset_parse_irc_msg (char *message, char **nick, char **command,
*pos_args = pos2 + 1;
else
{
*pos_args = pos2;
if ((pos2[0] == '#') || (pos2[0] == '&')
|| (pos2[0] == '+') || (pos2[0] == '!'))
{
@@ -276,12 +277,6 @@ weechat_charset_parse_irc_msg (char *message, char **nick, char **command,
*nick = strdup (pos2);
}
}
if (pos3)
{
while (pos3[0] == ' ')
pos3++;
*pos_args = (pos3[0] == ':') ? pos3 + 1 : pos3;
}
}
}
}
@@ -256,6 +256,7 @@ weechat_charset_parse_irc_msg (char *message, char **nick, char **command,
*pos_args = pos2 + 1;
else
{
*pos_args = pos2;
if ((pos2[0] == '#') || (pos2[0] == '&')
|| (pos2[0] == '+') || (pos2[0] == '!'))
{
@@ -276,12 +277,6 @@ weechat_charset_parse_irc_msg (char *message, char **nick, char **command,
*nick = strdup (pos2);
}
}
if (pos3)
{
while (pos3[0] == ' ')
pos3++;
*pos_args = (pos3[0] == ':') ? pos3 + 1 : pos3;
}
}
}
}