summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/charset/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/charset/charset.c b/src/plugins/charset/charset.c
index 63a0ebc68..f9bd8d71d 100644
--- a/src/plugins/charset/charset.c
+++ b/src/plugins/charset/charset.c
@@ -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);