summaryrefslogtreecommitdiffstats
path: root/mbbsd/stuff.c
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-25 15:54:43 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-25 15:54:43 +0800
commit722756aae99d59e9b28f5a200a5d0d63d3bd7b6b (patch)
tree89974d316b41da8f528f172af3ae52a2e172ff85 /mbbsd/stuff.c
parentf03d0717f20d47251703d880fd6b487abefcef67 (diff)
downloadpttbbs-722756aae99d59e9b28f5a200a5d0d63d3bd7b6b.tar
pttbbs-722756aae99d59e9b28f5a200a5d0d63d3bd7b6b.tar.gz
pttbbs-722756aae99d59e9b28f5a200a5d0d63d3bd7b6b.tar.bz2
pttbbs-722756aae99d59e9b28f5a200a5d0d63d3bd7b6b.tar.lz
pttbbs-722756aae99d59e9b28f5a200a5d0d63d3bd7b6b.tar.xz
pttbbs-722756aae99d59e9b28f5a200a5d0d63d3bd7b6b.tar.zst
pttbbs-722756aae99d59e9b28f5a200a5d0d63d3bd7b6b.zip
Only registered user can call angel.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2020 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r--mbbsd/stuff.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c
index 9e7e1c5a..fdc5cdc2 100644
--- a/mbbsd/stuff.c
+++ b/mbbsd/stuff.c
@@ -667,10 +667,11 @@ show_help(char *helptext[])
prints(" %s\n", str);
}
#ifdef PLAY_ANGEL
- pressanykey_or_callangel();
-#else
- pressanykey();
+ if (HAS_PERM(PERM_LOGINOK))
+ pressanykey_or_callangel();
+ else
#endif
+ pressanykey();
}
#endif // _BBS_UTIL_C_