--- lbbs/src/article_del.c 2025/11/04 14:58:56 1.9 +++ lbbs/src/article_del.c 2025/11/11 00:28:05 1.11 @@ -6,6 +6,10 @@ * Copyright (C) 2004-2025 Leaflet */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "article_del.h" #include "database.h" #include "io.h" @@ -47,7 +51,7 @@ int article_del(const SECTION_LIST *p_se prints("真的要删除文章?(Y)是, (N)否 [N]: "); iflush(); - for (ch = 0; !SYS_server_exit; ch = igetch_t(MAX_DELAY_TIME)) + for (ch = 0; !SYS_server_exit; ch = igetch_t(BBS_max_user_idle_time)) { switch (toupper(ch)) {