summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-18 00:57:37 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-18 00:57:37 +0800
commit7c26b1341dd93b126d5e09289c2aa857d045e6f3 (patch)
treecaef090c8f05cfac9b2b4bfac02905eda2e97fd6
parentf8aa865267adc10f7d0d79cdceba515a09f88547 (diff)
downloadpttbbs-7c26b1341dd93b126d5e09289c2aa857d045e6f3.tar
pttbbs-7c26b1341dd93b126d5e09289c2aa857d045e6f3.tar.gz
pttbbs-7c26b1341dd93b126d5e09289c2aa857d045e6f3.tar.bz2
pttbbs-7c26b1341dd93b126d5e09289c2aa857d045e6f3.tar.lz
pttbbs-7c26b1341dd93b126d5e09289c2aa857d045e6f3.tar.xz
pttbbs-7c26b1341dd93b126d5e09289c2aa857d045e6f3.tar.zst
pttbbs-7c26b1341dd93b126d5e09289c2aa857d045e6f3.zip
wrong condition
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1418 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 3fbc0b58..b6f509f4 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -528,7 +528,7 @@ do_general(int isbid)
if (!(currmode & MODE_POST)
#ifdef FOREIGN_REG
// 不是外籍使用者在 PttForeign 板
- && !((cuser.uflag2 & FOREIGN) && strcmp(bp->brdname, "PttForeign"))
+ && !((cuser.uflag2 & FOREIGN) && strcmp(bp->brdname, "PttForeign") == 0)
#endif
) {
move(5, 10);