summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-03-26 19:06:50 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-03-26 19:06:50 +0800
commit8082880dd62dcaf8da0ee1f89e5220465be0aef3 (patch)
treebb5389b12213805a6e790758ddd0aa146375458f
parent0fd4f34a1affc79895da27d30f0cbed31d8867ae (diff)
downloadpttbbs-8082880dd62dcaf8da0ee1f89e5220465be0aef3.tar
pttbbs-8082880dd62dcaf8da0ee1f89e5220465be0aef3.tar.gz
pttbbs-8082880dd62dcaf8da0ee1f89e5220465be0aef3.tar.bz2
pttbbs-8082880dd62dcaf8da0ee1f89e5220465be0aef3.tar.lz
pttbbs-8082880dd62dcaf8da0ee1f89e5220465be0aef3.tar.xz
pttbbs-8082880dd62dcaf8da0ee1f89e5220465be0aef3.tar.zst
pttbbs-8082880dd62dcaf8da0ee1f89e5220465be0aef3.zip
Revise "no post permission" error messages.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5972 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/cache.c b/pttbbs/mbbsd/cache.c
index 91dc9a9c..c6a0d3c3 100644
--- a/pttbbs/mbbsd/cache.c
+++ b/pttbbs/mbbsd/cache.c
@@ -245,7 +245,8 @@ postperm_msg(const char *bname)
#endif
if (!HasUserPerm(PERM_POST))
- return "無發文權限";
+ return (PERM_POST == PERM_LOGINOK) ? "未完成認證" :
+ "無發文權限";
/* 秘密看板特別處理 */
if (bp->brdattr & BRD_HIDE)