diff options
| author | info@mode42.com <info@mode42.com> | 2026-08-09 12:42:59 +0000 |
|---|---|---|
| committer | info@mode42.com <info@mode42.com> | 2026-08-09 12:42:59 +0000 |
| commit | 7815183927ecb914de430a5d64f9df27a48f49ae (patch) | |
| tree | 1f75384f4b54998476f9d2e8219b8570c3f8f650 /plugins | |
| parent | e1730d8012fca0a712de588285342f7ad10dd804 (diff) | |
now including entertain/chess
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/entertain/entertain.c | 10 |
1 files changed, 10 insertions, 0 deletions
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); } |
