diff options
| author | info@mode42.com <info@mode42.com> | 2026-08-09 05:27:00 +0000 |
|---|---|---|
| committer | info@mode42.com <info@mode42.com> | 2026-08-09 05:27:00 +0000 |
| commit | 1cad8f1308e4af86027f9ae25523b8a8b3f6592c (patch) | |
| tree | 7fa911b052986a69728343a09f8dde3d1c206c9b /src/core/command.c | |
| parent | 20cb29c2f8c5c87bc590896854a20b1473ceb358 (diff) | |
Next development steps
Diffstat (limited to 'src/core/command.c')
| -rw-r--r-- | src/core/command.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/command.c b/src/core/command.c index b60ee35..8cd4e5c 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/chess.h" #include "hybbx/util.h" #include <stdio.h> @@ -2311,6 +2312,11 @@ hybbx_result_t hybbx_command_dispatch(hybbx_service_t *service, return cmd_monitor(service, session, cmd); } + if (str_ieq(cmd->verb, "chess") || str_ieq(cmd->verb, "play")) { + return cmd_chess(service, session, cmd); + } + + if (str_ieq(cmd->verb, "users")) { return cmd_users(service, session); } |
