1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 17:23:15 +02:00

charset: remove unneeded test in command /charset

This commit is contained in:
Sebastien Helleu
2014-02-21 13:09:43 +01:00
parent 01c7f1cc6a
commit 898c9dc195
+1 -1
View File
@@ -494,7 +494,7 @@ charset_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
snprintf (option_name, length, "%s.%s", plugin_name, name);
}
if ((argc > 1) && (weechat_strcasecmp (argv[1], "reset") == 0))
if (weechat_strcasecmp (argv[1], "reset") == 0)
{
charset_set (charset_config_section_decode, "decode", option_name,
NULL);