diff options
Diffstat (limited to 'src/plugins/charset/weechat-charset.c')
-rw-r--r-- | src/plugins/charset/weechat-charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/charset/weechat-charset.c b/src/plugins/charset/weechat-charset.c index 1fd8d4e62..b8c142b3b 100644 --- a/src/plugins/charset/weechat-charset.c +++ b/src/plugins/charset/weechat-charset.c @@ -248,7 +248,7 @@ weechat_charset_parse_irc_msg (char *message, char **nick, char **command, pos2 = strchr (pos, ' '); if (pos2) { - *command = strndup (pos, pos2 - pos); + *command = weechat_charset_strndup (pos, pos2 - pos); pos2++; while (pos2[0] == ' ') pos2++; |