summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index bfc602ed..6f9bb440 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -806,8 +806,13 @@ choose_board(int newflag)
brdnum = -1;
break;
case 'D':
- ptr = &nbrd[num];
- delete_symbolic_link(&bcache[ptr->bid - 1], ptr->bid);
+ if (HAS_PERM(PERM_SYSOP)) {
+ ptr = &nbrd[num];
+ if (ptr->myattr & NBRD_SYMBOLIC) {
+ if (getans("½T©w§R°£³sµ²¡H[N/y]") == 'y')
+ delete_symbolic_link(&bcache[ptr->bid - 1], ptr->bid);
+ }
+ }
break;
case Ctrl('D'):
if (HAS_PERM(PERM_LOGINOK)) {