diff options
Diffstat (limited to 'plugins/entertain')
| -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); } |
