diff options
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); } |
