summaryrefslogtreecommitdiff
path: root/src/plugins/charset/charset.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-02-21 13:09:43 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-21 13:09:43 +0100
commit898c9dc195ef5a29b2b69e0398db6456bae519f0 (patch)
tree61f15699f58991b48903450a46b9f432961a90e4 /src/plugins/charset/charset.c
parent01c7f1cc6a82ee5b1418a069aa34408d99321baf (diff)
downloadweechat-898c9dc195ef5a29b2b69e0398db6456bae519f0.zip
charset: remove unneeded test in command /charset
Diffstat (limited to 'src/plugins/charset/charset.c')
-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);