diff options
| author | info@mode42.com <info@mode42.com> | 2026-08-09 14:56:03 +0000 |
|---|---|---|
| committer | info@mode42.com <info@mode42.com> | 2026-08-09 14:56:03 +0000 |
| commit | 12c15060e7266bf53d5879a9e6f7f581de8e808e (patch) | |
| tree | 4b338b00a0fd060cbe890de1fe3fc161600ffc57 /src/core/command.c | |
| parent | 7815183927ecb914de430a5d64f9df27a48f49ae (diff) | |
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); } |
