diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-11-09 22:33:44 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-11-09 22:33:44 +0000 |
commit | 045ceb961fd8af1f0c7e65914e55125956df8317 (patch) | |
tree | 3981c0dda951230aa5e368090fc19c2a0f102531 /src | |
parent | ef039c99daf721904c3b1e137e7b4127954020b3 (diff) | |
download | weechat-045ceb961fd8af1f0c7e65914e55125956df8317.zip |
Fixed bug in charset plugin: now encode/decode channels/nicks in IRC messages (after command)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/charset/weechat-charset.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/charset/weechat-charset.c b/src/plugins/charset/weechat-charset.c index c5adaf894..1fd8d4e62 100644 --- a/src/plugins/charset/weechat-charset.c +++ b/src/plugins/charset/weechat-charset.c @@ -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; - } } } } |