summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-14 20:40:43 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-14 20:40:43 +0800
commit1e7168f2c8bcd0606af2e2232ecccdd1652df828 (patch)
treea49e7c26ac4bac1fb417aa9972294068491133ff /mbbsd/bbs.c
parent5fd7f7661b55d3913b0ad0142897605f36ce6d8c (diff)
downloadpttbbs-1e7168f2c8bcd0606af2e2232ecccdd1652df828.tar
pttbbs-1e7168f2c8bcd0606af2e2232ecccdd1652df828.tar.gz
pttbbs-1e7168f2c8bcd0606af2e2232ecccdd1652df828.tar.bz2
pttbbs-1e7168f2c8bcd0606af2e2232ecccdd1652df828.tar.lz
pttbbs-1e7168f2c8bcd0606af2e2232ecccdd1652df828.tar.xz
pttbbs-1e7168f2c8bcd0606af2e2232ecccdd1652df828.tar.zst
pttbbs-1e7168f2c8bcd0606af2e2232ecccdd1652df828.zip
fix bug
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2396 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 dfdc2841..c2c6b05f 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 (HAS_PERM(PERM_SYSOP))
+ if (!HAS_PERM(PERM_SYSOP))
return DONOTHING;
bp = getbcache(currbid);