summaryrefslogtreecommitdiff
path: root/src/core/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/command.c')
-rw-r--r--src/core/command.c6
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);
}
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com