diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-03 15:10:38 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-03 15:10:38 +0800 |
commit | a2a653b72c1f5c6920f03d13a52b0a2ea3631cb8 (patch) | |
tree | 2c99185aec035b80ae4d5496e4f125b4e9e78492 /include | |
parent | 76c447fca47270d730fe8258ad52e4696d097d55 (diff) | |
download | pttbbs-a2a653b72c1f5c6920f03d13a52b0a2ea3631cb8.tar pttbbs-a2a653b72c1f5c6920f03d13a52b0a2ea3631cb8.tar.gz pttbbs-a2a653b72c1f5c6920f03d13a52b0a2ea3631cb8.tar.bz2 pttbbs-a2a653b72c1f5c6920f03d13a52b0a2ea3631cb8.tar.lz pttbbs-a2a653b72c1f5c6920f03d13a52b0a2ea3631cb8.tar.xz pttbbs-a2a653b72c1f5c6920f03d13a52b0a2ea3631cb8.tar.zst pttbbs-a2a653b72c1f5c6920f03d13a52b0a2ea3631cb8.zip |
Security Update
(1) **s (Ptt_prints):
Only information can be queried by others will be revealed.
i.e., **b(birthday), **u(utmp number) will be removed
**m(money) will show level messages instead of real number
(2) Reply will show as **X instead of converted message
(3) Ansi (^V) mode in editor will display as **X.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2878 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h index e0cca3e2..8a922f2c 100644 --- a/include/proto.h +++ b/include/proto.h @@ -167,6 +167,7 @@ void add_posttimes(int uid, int times); /* cal */ int give_tax(int money); +const char* money_level(int money); int vice(int money, const char* item); #define reload_money() cuser.money=moneyof(usernum) int deumoney(int uid, int money); |