1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

Fixed message displayed when a command handler failed (now "failed" instead of

"command not found")
This commit is contained in:
Sebastien Helleu
2006-02-18 12:50:55 +00:00
parent da3f8ade08
commit 4f81254e40
14 changed files with 1880 additions and 1886 deletions
+3 -2
View File
@@ -351,7 +351,8 @@ plugin_msg_handler_exec (char *server, char *irc_command, char *irc_message)
/*
* plugin_cmd_handler_exec: execute a command handler
* return: 1 if handler executed, 0 if no handler found
* return: 1 if handler executed, 0 if failed,
* -1 if no handler found
*/
int
@@ -386,7 +387,7 @@ plugin_cmd_handler_exec (char *server, char *command, char *arguments)
}
}
return 0;
return -1;
}
/*