summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-07 14:04:47 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-07 14:04:47 +0800
commit735c0af69f7d5f547d7f714fe47881b513b91fa8 (patch)
treecc2262fd99004d290e6acb0a73a9ac03d5ce9f56 /mbbsd/read.c
parent9d517c2dd00769cec30f784dd6ecab23c6551f75 (diff)
downloadpttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar
pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.gz
pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.bz2
pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.lz
pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.xz
pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.zst
pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.zip
- change hard-coded board names to defines
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3649 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r--mbbsd/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index 784db7c2..e30c60c2 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -174,7 +174,7 @@ TagPruner(int bid)
assert(bid >= 0); /* bid == 0 means in mailbox */
if (bid){
bp = getbcache(bid);
- if (strcmp(bp->brdname, "Security") == 0)
+ if (strcmp(bp->brdname, GLOBAL_SECURITY) == 0)
return DONOTHING;
}
if (TagNum && ((currstat != READING) || (currmode & MODE_BOARD))) {