summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-25 00:17:49 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-25 00:17:49 +0800
commit477e0ca1881fe6c7d89e8c45c8bc08178505a78c (patch)
treee7b84cf0c877827679ee553ec921bf78a69a0d56
parentebb38c5b0ea94a55365eac998433438f195f407e (diff)
downloadpttbbs-477e0ca1881fe6c7d89e8c45c8bc08178505a78c.tar
pttbbs-477e0ca1881fe6c7d89e8c45c8bc08178505a78c.tar.gz
pttbbs-477e0ca1881fe6c7d89e8c45c8bc08178505a78c.tar.bz2
pttbbs-477e0ca1881fe6c7d89e8c45c8bc08178505a78c.tar.lz
pttbbs-477e0ca1881fe6c7d89e8c45c8bc08178505a78c.tar.xz
pttbbs-477e0ca1881fe6c7d89e8c45c8bc08178505a78c.tar.zst
pttbbs-477e0ca1881fe6c7d89e8c45c8bc08178505a78c.zip
- add MENU_UNREGONLY definition
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3737 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--include/perm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/perm.h b/include/perm.h
index d135ba70..04864e2d 100644
--- a/include/perm.h
+++ b/include/perm.h
@@ -2,6 +2,9 @@
#ifndef INCLUDE_PERM_H
#define INCLUDE_PERM_H
+#define MENU_UNREGONLY (-1) // 特殊值: 在 menu 裡表示未註冊完成
+ // 但又非guest的帳號才看得到
+
#define PERM_BASIC 000000000001 /* 基本權力 */
#define PERM_CHAT 000000000002 /* 進入聊天室 */
#define PERM_PAGE 000000000004 /* 找人聊天 */