summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-11-12 09:01:11 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-11-12 09:01:11 +0800
commitc7fdf86a3117d3e091082d5370bce2286ae9f12d (patch)
treecc58ac36ccce1fbef3f7ff92e56e358e98c1cbd4
parent20229cbbc31f2694ce770f84ef57d6832f8229f6 (diff)
downloadpttbbs-c7fdf86a3117d3e091082d5370bce2286ae9f12d.tar
pttbbs-c7fdf86a3117d3e091082d5370bce2286ae9f12d.tar.gz
pttbbs-c7fdf86a3117d3e091082d5370bce2286ae9f12d.tar.bz2
pttbbs-c7fdf86a3117d3e091082d5370bce2286ae9f12d.tar.lz
pttbbs-c7fdf86a3117d3e091082d5370bce2286ae9f12d.tar.xz
pttbbs-c7fdf86a3117d3e091082d5370bce2286ae9f12d.tar.zst
pttbbs-c7fdf86a3117d3e091082d5370bce2286ae9f12d.zip
fix typo
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5250 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/menu.c b/pttbbs/mbbsd/menu.c
index f1c8b3d4..f64322e3 100644
--- a/pttbbs/mbbsd/menu.c
+++ b/pttbbs/mbbsd/menu.c
@@ -384,7 +384,7 @@ show_menu(int menu_index, const commands_t * p)
#endif
#ifdef EXP_ALERT_ADBANNER_USONG
- if ((p[0].level & !HasUserPerm(p[0].level)) &&
+ if ((p[0].level && !HasUserPerm(p[0].level)) &&
HasUserFlag(UF_ADBANNER_USONG) &&
HasUserFlag(UF_ADBANNER)) {
// we have one more extra line to display ADBANNER_USONG!