diff options
Diffstat (limited to 'src/plugins/charset/charset.c')
-rw-r--r-- | src/plugins/charset/charset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/charset/charset.c b/src/plugins/charset/charset.c index 264a5bf87..061dfd3a0 100644 --- a/src/plugins/charset/charset.c +++ b/src/plugins/charset/charset.c @@ -464,7 +464,7 @@ charset_command_cb (void *data, struct t_gui_buffer *buffer, int argc, weechat_prefix ("error"), CHARSET_PLUGIN_NAME); if (option_name) free (option_name); - return WEECHAT_RC_ERROR; + return WEECHAT_RC_OK; } } else @@ -478,7 +478,7 @@ charset_command_cb (void *data, struct t_gui_buffer *buffer, int argc, ptr_charset); if (option_name) free (option_name); - return WEECHAT_RC_ERROR; + return WEECHAT_RC_OK; } if (ptr_section) { @@ -524,7 +524,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) weechat_printf (NULL, _("%s%s: error creating configuration file"), weechat_prefix("error"), CHARSET_PLUGIN_NAME); - return WEECHAT_RC_ERROR; + return WEECHAT_RC_OK; } charset_config_read (); |