summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/admin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index ff53fd45..40768fef 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -279,6 +279,7 @@ AddingChessCountryFiles(const char* apath)
snprintf(filename, sizeof(filename), "%s/chess_list", apath);
if (!dashf(filename)) {
fp = fopen(filename, "w");
+ assert(fp);
fputs("棋國國名\n"
"帳號 階級 加入日期 等級或被誰俘虜\n"
"────── ─── ───── ───────\n",