From 7815183927ecb914de430a5d64f9df27a48f49ae Mon Sep 17 00:00:00 2001 From: "info@mode42.com" Date: Sun, 9 Aug 2026 12:42:59 +0000 Subject: now including entertain/chess --- plugins/entertain/entertain.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'plugins/entertain/entertain.c') diff --git a/plugins/entertain/entertain.c b/plugins/entertain/entertain.c index f8dfa6a..23f61b1 100644 --- a/plugins/entertain/entertain.c +++ b/plugins/entertain/entertain.c @@ -5,6 +5,7 @@ */ #include "hybbx/plugin.h" #include "hybbx/service.h" +#include "hybbx/session.h" #include "hybbx/command.h" #include "hybbx/log.h" #include "entertain_chess.h" @@ -56,6 +57,15 @@ static hybbx_result_t entertain_on_command(struct hybbx_service *service, return HYBBX_ERR_NOT_FOUND; } + /* Future: chess over mains_proxy mesh — stub only. */ + if (strcmp(cmd->verb, "proxychess") == 0) { + if (session != NULL) { + hybbx_session_write_line(session, + "proxychess: not implemented yet (Main mesh stub)."); + } + return HYBBX_OK; + } + if (verb_is_chess(cmd->verb)) { return entertain_cmd_chess(service, session, cmd); } -- cgit v1.3.1