diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-14 18:22:42 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-14 18:22:42 +0800 |
commit | ca9e8ad9b082a862006d7692a632e0516484b22a (patch) | |
tree | ca9501877c9ded01477988f308433916db7c6901 | |
parent | 86b51c4c9fb6bce0fde83a5f984545645d6c2895 (diff) | |
download | pttbbs-ca9e8ad9b082a862006d7692a632e0516484b22a.tar pttbbs-ca9e8ad9b082a862006d7692a632e0516484b22a.tar.gz pttbbs-ca9e8ad9b082a862006d7692a632e0516484b22a.tar.bz2 pttbbs-ca9e8ad9b082a862006d7692a632e0516484b22a.tar.lz pttbbs-ca9e8ad9b082a862006d7692a632e0516484b22a.tar.xz pttbbs-ca9e8ad9b082a862006d7692a632e0516484b22a.tar.zst pttbbs-ca9e8ad9b082a862006d7692a632e0516484b22a.zip |
fix edit_post
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1331 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/bbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 45482889..1fe876ea 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -870,7 +870,7 @@ edit_post(int ent, fileheader_t * fhdr, char *direct) return DONOTHING; if( !HAS_PERM(PERM_SYSOP) && - (!(currmode & MODE_POST) || strcmp(fhdr->owner, cuser.userid)) ) + (!(currmode & MODE_POST) || strcmp(fhdr->owner, cuser.userid) != 0) ) return DONOTHING; if( currmode & MODE_SELECT ) |