summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/admin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index 140261b9..4706f999 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -1013,6 +1013,9 @@ m_newbrd(int whatclass, int recover)
vmsg("看板已滿,請洽系統站長");
else
vmsg("看板寫入失敗");
+
+ setbpath(genbuf, newboard.brdname);
+ rmdir(genbuf);
return -1;
}