--- lbbs/src/bbs_cmd.c 2025/11/04 13:49:51 1.24 +++ lbbs/src/bbs_cmd.c 2025/11/11 10:54:22 1.29 @@ -3,10 +3,15 @@ * bbs_cmd * - manager of menu command handler * - * Copyright (C) 2004-2025 by Leaflet + * Copyright (C) 2004-2025 Leaflet */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "bbs_cmd.h" +#include "data_file_mgr.h" #include "menu_proc.h" #include "trie_dict.h" #include @@ -19,6 +24,7 @@ static const BBS_CMD bbs_cmd_list[] = { {"COPYRIGHT", copyright}, {"VERSION", version}, {"RELOADCONF", reload_bbs_conf}, + {"DATAMGR", data_file_mgr}, {"SHUTDOWN", shutdown_bbs}, {"M_FAVOR_SECTION", favor_section_filter}, {"VIEW_EX_ARTICLE", view_ex_article}, @@ -28,6 +34,8 @@ static const BBS_CMD bbs_cmd_list[] = { {"FAVOR_TOPIC", favor_topic}, {"LIST_USER", list_user}, {"LIST_ONLINE_USER", list_online_user}, + {"EDIT_INTRO", edit_intro}, + {"EDIT_SIGN", edit_sign}, }; static const int bbs_cmd_count = sizeof(bbs_cmd_list) / sizeof(BBS_CMD);