diff options
Diffstat (limited to 'src/core/command.c')
| -rw-r--r-- | src/core/command.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/command.c b/src/core/command.c index 44485c7..f33ad04 100644 --- a/src/core/command.c +++ b/src/core/command.c @@ -18,6 +18,7 @@ #include "hybbx/password.h" #include "hybbx/traffic.h" #include "hybbx/monitor.h" +#include "hybbx/aichat.h" #include "hybbx/util.h" #include <stdio.h> @@ -2448,6 +2449,10 @@ hybbx_result_t hybbx_command_dispatch(hybbx_service_t *service, return cmd_broadcast(service, session, cmd); } + if (str_ieq(cmd->verb, "aichat") || str_ieq(cmd->verb, "ai") || str_ieq(cmd->verb, "ask")) { + return cmd_aichat(service, session, cmd); + } + if (str_ieq(cmd->verb, "shutdown")) { return cmd_shutdown(service, session); } |
