summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-13 19:32:24 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-13 19:32:24 +0800
commitff67639e263e0e43bce9a0081d8b31d389ddeac5 (patch)
tree17ec5170efc0cb1efcab0f94ab998f4a90f4ebf1 /mbbsd/bbs.c
parentebfb5cf86e54df87bdbd952cfed7714325d530a3 (diff)
downloadpttbbs-ff67639e263e0e43bce9a0081d8b31d389ddeac5.tar
pttbbs-ff67639e263e0e43bce9a0081d8b31d389ddeac5.tar.gz
pttbbs-ff67639e263e0e43bce9a0081d8b31d389ddeac5.tar.bz2
pttbbs-ff67639e263e0e43bce9a0081d8b31d389ddeac5.tar.lz
pttbbs-ff67639e263e0e43bce9a0081d8b31d389ddeac5.tar.xz
pttbbs-ff67639e263e0e43bce9a0081d8b31d389ddeac5.tar.zst
pttbbs-ff67639e263e0e43bce9a0081d8b31d389ddeac5.zip
Only sysop can set `chess country' and `restricted post.'
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2394 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 2bb56bed..dfdc2841 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2489,7 +2489,7 @@ change_localsave(int ent, fileheader_t * fhdr, char *direct)
static int
change_restrictedpost(int ent, fileheader_t * fhdr, char *direct){
boardheader_t *bp;
- if (!((currmode & MODE_BOARD) || HAS_PERM(PERM_SYSOP)))
+ if (HAS_PERM(PERM_SYSOP))
return DONOTHING;
bp = getbcache(currbid);