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/alias/alias.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/alias/alias.c')
-rw-r--r-- | src/plugins/alias/alias.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/alias/alias.c b/src/plugins/alias/alias.c index 630131762..e1172235a 100644 --- a/src/plugins/alias/alias.c +++ b/src/plugins/alias/alias.c @@ -343,7 +343,7 @@ alias_cb (void *data, struct t_gui_buffer *buffer, int argc, char **argv, "alias \"%s\""), weechat_prefix ("error"), ALIAS_PLUGIN_NAME, ptr_alias->name); - return WEECHAT_RC_ERROR; + return WEECHAT_RC_OK; } else { @@ -693,7 +693,7 @@ alias_command_cb (void *data, struct t_gui_buffer *buffer, int argc, "=> \"%s\""), weechat_prefix ("error"), ALIAS_PLUGIN_NAME, ptr_alias_name, ptr_command); - return WEECHAT_RC_ERROR; + return WEECHAT_RC_OK; } /* create config option for command */ @@ -953,7 +953,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"), ALIAS_PLUGIN_NAME); - return WEECHAT_RC_ERROR; + return WEECHAT_RC_OK; } alias_config_read (); |