summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-11-01 10:21:56 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-11-01 10:21:56 +0100
commit60c1b6ea8390b773d1285aab671912c1cd46c9a0 (patch)
treece09c511abeb4436807943c03e9f54c62d5f59ba /src/core
parentac6b299e8b95420de749daed2c93b9ff516c71cb (diff)
downloadweechat-60c1b6ea8390b773d1285aab671912c1cd46c9a0.zip
Use constant WEECHAT_RC_OK instead of 0 in function command_reload_file
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 7d1e9b51f..2ff6e42fa 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -3247,7 +3247,7 @@ command_reload_file (struct t_config_file *config_file)
else
rc = config_file_reload (config_file);
- if (rc == 0)
+ if (rc == WEECHAT_RC_OK)
{
gui_chat_printf (NULL,
_("Options reloaded from %s"),