--- lbbs/src/bbs_cmd.c 2025/10/21 11:11:28 1.21 +++ lbbs/src/bbs_cmd.c 2025/10/22 05:50:13 1.23 @@ -34,10 +34,11 @@ static const BBS_CMD bbs_cmd_list[] = { {"TOP10", show_top10_menu}, {"LOCATE_ARTICLE", locate_article}, {"FAVOR_TOPIC", favor_topic}, - {"USER_LIST", user_list}, + {"LIST_USER", list_user}, + {"LIST_ONLINE_USER", list_online_user}, }; -static const int bbs_cmd_count = 15; +static const int bbs_cmd_count = sizeof(bbs_cmd_list) / sizeof(BBS_CMD); static TRIE_NODE *p_bbs_cmd_dict;