diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-04-16 10:58:15 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-04-16 10:58:15 +0200 |
commit | 06a9546ca5d69ff0771630eaa1f7663e53a44cfc (patch) | |
tree | 6e2c312499a93e517e8790e77bcd5cd0b47066c5 /src/plugins/charset/charset.c | |
parent | 7426569d8680711e9ff22d5c86c631504f23559b (diff) | |
download | weechat-06a9546ca5d69ff0771630eaa1f7663e53a44cfc.zip |
core: return WEECHAT_RC_OK instead of WEECHAT_RC_ERROR in commands when error is displayed
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 (); |