diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-12-10 18:42:07 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-12-10 18:42:07 +0100 |
commit | 4993b2f6610c29c2cf904cbdc181ba72ded4b70e (patch) | |
tree | 250fd5bb62e14e7a0cb595532b0942f28e96abc4 /src/plugins/logger/logger.c | |
parent | c9ceee421e3729a846ace04ff542b22bcd475cb7 (diff) | |
download | weechat-4993b2f6610c29c2cf904cbdc181ba72ded4b70e.zip |
Renamed constants for return codes in plugins
Diffstat (limited to 'src/plugins/logger/logger.c')
-rw-r--r-- | src/plugins/logger/logger.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/logger/logger.c b/src/plugins/logger/logger.c index 22fac446c..e68a313e9 100644 --- a/src/plugins/logger/logger.c +++ b/src/plugins/logger/logger.c @@ -385,7 +385,7 @@ logger_event_cb (void *data, char *event, void *pointer) logger_end (logger_buffer_search (pointer)); } - return PLUGIN_RC_SUCCESS; + return WEECHAT_RC_OK; } /* @@ -421,7 +421,7 @@ logger_print_cb (void *data, void *buffer, time_t date, char *prefix, message); } - return PLUGIN_RC_SUCCESS; + return WEECHAT_RC_OK; } /* @@ -435,9 +435,9 @@ weechat_plugin_init (struct t_weechat_plugin *plugin) logger_config_read (); if (!logger_path || !logger_time_format) - return PLUGIN_RC_FAILED; + return WEECHAT_RC_ERROR; if (!logger_create_directory ()) - return PLUGIN_RC_FAILED; + return WEECHAT_RC_ERROR; logger_start_buffer_all (); @@ -446,7 +446,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin) weechat_hook_print (NULL, NULL, 1, &logger_print_cb, NULL); - return PLUGIN_RC_SUCCESS; + return WEECHAT_RC_OK; } /* @@ -458,5 +458,5 @@ weechat_plugin_end () { logger_end_all (); - return PLUGIN_RC_SUCCESS; + return WEECHAT_RC_OK; } |