From 5389a0dd087aaed29cc6e11f5623aef4bb9accf4 Mon Sep 17 00:00:00 2001 From: wens Date: Tue, 4 Dec 2007 16:52:47 +0000 Subject: - general code refine: remove all hard-coded "Ptt" message string and use macro BBSMNAME/BBSMNAME2 instead git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3628 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- sample/pttbbs.conf | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sample') diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf index e0e3db06..a3ed4c5c 100644 --- a/sample/pttbbs.conf +++ b/sample/pttbbs.conf @@ -10,6 +10,15 @@ #define MYHOSTNAME "ptt2.cc" /* 網路位址 */ #define MYIP "140.112.30.143" /* IP位址 */ +/* BBSMNAME 是系統名,出現在系統寄信、通知等等。 + * 現在你可以改變這個名字,但強烈建議名字別超過 3 個字元 + * 請保持像 [Ptt系統警察] 這種仍能塞進 IDLEN 的格式 + * 不然你的系統可能會有一堆作者切一半的系統信。 + * BBSMNAME2 則是出現在部份選單裡,建議盡量照原格式 4 字元寬 + */ +#define BBSMNAME "Ptt" +#define BBSMNAME2 "Ptt" + /* 為減少假 email 利用 source 算出註冊碼, 我們改用新的公式。 * 下面這個是起始的種子值,請改成任意字串 (1~13 chars) */ #define REGCODE_MAGIC "pttbbs" -- cgit v1.2.3