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/core/wee-hook.c | |
parent | c9ceee421e3729a846ace04ff542b22bcd475cb7 (diff) | |
download | weechat-4993b2f6610c29c2cf904cbdc181ba72ded4b70e.zip |
Renamed constants for return codes in plugins
Diffstat (limited to 'src/core/wee-hook.c')
-rw-r--r-- | src/core/wee-hook.c | 2 |
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; |