diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-12 12:16:35 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-12 12:16:35 +0800 |
commit | fda6d63bafd474518327879633b2231a5aaa6825 (patch) | |
tree | 5b3d291865da567e4ff0592facb0d58913a480bb /mbbsd/bbs.c | |
parent | 3f76b17cecfae6af61240a7ef9e5f21118e39f40 (diff) | |
download | pttbbs-fda6d63bafd474518327879633b2231a5aaa6825.tar pttbbs-fda6d63bafd474518327879633b2231a5aaa6825.tar.gz pttbbs-fda6d63bafd474518327879633b2231a5aaa6825.tar.bz2 pttbbs-fda6d63bafd474518327879633b2231a5aaa6825.tar.lz pttbbs-fda6d63bafd474518327879633b2231a5aaa6825.tar.xz pttbbs-fda6d63bafd474518327879633b2231a5aaa6825.tar.zst pttbbs-fda6d63bafd474518327879633b2231a5aaa6825.zip |
rewrite few lines.
comment on strange lines.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2496 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 71f1829b..dab735e2 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2322,7 +2322,7 @@ good_post(int ent, fileheader_t * fhdr, char *direct) fhdr->filemode = (fhdr->filemode & ~FILE_DIGEST); if (!strcmp(currboard, "Note") || !strcmp(currboard, "PttBug") || !strcmp(currboard, "Artdsn") || !strcmp(currboard, "PttLaw")) { - deumoney(searchuser(fhdr->owner), -1000); + deumoney(searchuser(fhdr->owner), -1000); // FIXME if searchuser() return 0 if (!(currmode & MODE_SELECT)) fhdr->multi.money -= 1000; else @@ -2361,7 +2361,7 @@ good_post(int ent, fileheader_t * fhdr, char *direct) fhdr->filemode = (fhdr->filemode & ~FILE_MARKED) | FILE_DIGEST; if (!strcmp(currboard, "Note") || !strcmp(currboard, "PttBug") || !strcmp(currboard, "Artdsn") || !strcmp(currboard, "PttLaw")) { - deumoney(searchuser(fhdr->owner), 1000); + deumoney(searchuser(fhdr->owner), 1000); // FIXME if searchuser() return 0 if (!(currmode & MODE_SELECT)) fhdr->multi.money += 1000; else |