summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-22 23:03:52 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-22 23:03:52 +0800
commita1d2b5a7522d4a225309c7c3a0215388e9e26f3b (patch)
tree9aab3257f8c3b75e054fb91ed512fea8d3797ca7 /include
parent369ac1934a26c796897a370a4669b5d3a922c93c (diff)
downloadpttbbs-a1d2b5a7522d4a225309c7c3a0215388e9e26f3b.tar
pttbbs-a1d2b5a7522d4a225309c7c3a0215388e9e26f3b.tar.gz
pttbbs-a1d2b5a7522d4a225309c7c3a0215388e9e26f3b.tar.bz2
pttbbs-a1d2b5a7522d4a225309c7c3a0215388e9e26f3b.tar.lz
pttbbs-a1d2b5a7522d4a225309c7c3a0215388e9e26f3b.tar.xz
pttbbs-a1d2b5a7522d4a225309c7c3a0215388e9e26f3b.tar.zst
pttbbs-a1d2b5a7522d4a225309c7c3a0215388e9e26f3b.zip
1. patch of defining BBSENAME
2. chage log format for red envelope 3. remove unused function give_money_log 4. add log for deleting a post. (who delete it) 5. add log for changing basic permission. 6. add log for changing user's password and mail to notify user and witnesses. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2855 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h1
-rw-r--r--include/pttbbs.conf2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h
index 4f9b179d..e0cca3e2 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -633,7 +633,6 @@ int post_file(const char *bname, const char *title, const char *filename, const
void post_newboard(const char *bgroup, const char *bname, const char *bms);
void post_violatelaw(const char *crime, const char *police, const char *reason, const char *result);
void post_change_perm(int oldperm, int newperm, const char *sysopid, const char *userid);
-void give_money_post(const char *userid, int money);
/* talk */
#define iswritable(uentp) \
diff --git a/include/pttbbs.conf b/include/pttbbs.conf
index d02dbb4c..f4ed772a 100644
--- a/include/pttbbs.conf
+++ b/include/pttbbs.conf
@@ -1,5 +1,6 @@
/* 定義 BBS 站名位址 */
#define BBSNAME "批踢踢實業坊" /* 中文站名 */
+#define BBSENAME "PTT" /* 英文站名 */
#define MYHOSTNAME "ptt.csie.ntu.edu.tw" /* 網路位址 */
#define MYIP "140.112.30.142" /* IP位址 */
#define BBSUSER "bbs"
@@ -17,3 +18,4 @@
#define TITLE_COLOR "\33[0;1;37;44m"
#define MEM_CHECK 0
#define MEM_CHECK 0
+#define REGCODE_MAGIC "ptt1bbsXyZ"