summaryrefslogtreecommitdiff
path: root/src/core/wee-hook.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-12-10 18:42:07 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-12-10 18:42:07 +0100
commit4993b2f6610c29c2cf904cbdc181ba72ded4b70e (patch)
tree250fd5bb62e14e7a0cb595532b0942f28e96abc4 /src/core/wee-hook.c
parentc9ceee421e3729a846ace04ff542b22bcd475cb7 (diff)
downloadweechat-4993b2f6610c29c2cf904cbdc181ba72ded4b70e.zip
Renamed constants for return codes in plugins
Diffstat (limited to 'src/core/wee-hook.c')
-rw-r--r--src/core/wee-hook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c
index ebe656c39..033eddcf1 100644
--- a/src/core/wee-hook.c
+++ b/src/core/wee-hook.c
@@ -352,7 +352,7 @@ hook_command_exec (void *buffer, char *string, int only_builtin)
hook_exec_recursion--;
if (hook_exec_recursion == 0)
hook_remove_deleted ();
- if (rc == PLUGIN_RC_FAILED)
+ if (rc == WEECHAT_RC_ERROR)
return 0;
else
return 1;