diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-09-28 15:37:04 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-09-28 15:37:04 +0800 |
commit | 4621028ffd6a8acbc2bc76c528f11315812c7049 (patch) | |
tree | 6f0d3e255f4bb401ce06ad57d8c7226652fd3837 /include | |
parent | d0122a0edf93089c7a3897a899b26c8eeda4d311 (diff) | |
download | pttbbs-4621028ffd6a8acbc2bc76c528f11315812c7049.tar pttbbs-4621028ffd6a8acbc2bc76c528f11315812c7049.tar.gz pttbbs-4621028ffd6a8acbc2bc76c528f11315812c7049.tar.bz2 pttbbs-4621028ffd6a8acbc2bc76c528f11315812c7049.tar.lz pttbbs-4621028ffd6a8acbc2bc76c528f11315812c7049.tar.xz pttbbs-4621028ffd6a8acbc2bc76c528f11315812c7049.tar.zst pttbbs-4621028ffd6a8acbc2bc76c528f11315812c7049.zip |
* drop 'dbcsaware detection' ui, because we have the better 'repeat detection'.
* also changed UF_DBCSAWARE to UF_DBCS_AWARE
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4886 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 4 | ||||
-rw-r--r-- | include/uflags.h | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/include/proto.h b/include/proto.h index 3c2895a2..5acd4877 100644 --- a/include/proto.h +++ b/include/proto.h @@ -621,10 +621,6 @@ int u_editplan(void); int u_editsig(void); int u_cloak(void); int u_list(void); -#ifdef DBCSAWARE -int u_detectDBCSAwareEvilClient(); -#endif -#define ISDBCSAWARE() (cuser.uflag & UF_DBCSAWARE) /* vote */ void b_suckinfile(FILE *fp, const char *fname); diff --git a/include/uflags.h b/include/uflags.h index 8f71c05b..532138c0 100644 --- a/include/uflags.h +++ b/include/uflags.h @@ -15,7 +15,7 @@ #define UF_ADBANNER 0x00000040 // (was: MOVIE_FLAG, true if show advertisement banner #define UF_ADBANNER_USONG 0x00000080 // true if show user songs in banner // #define UF_MIND 0x00000100 // deprecated: true if mind search mode open <-Heat -#define UF_DBCSAWARE 0x00000200 // true if DBCS-aware enabled. +#define UF_DBCS_AWARE 0x00000200 // true if DBCS-aware enabled. #define UF_DBCS_NOINTRESC 0x00000400 // no Escapes interupting DBCS characters #define UF_DBCS_DROP_REPEAT 0x00000800 // detect and drop repeated input from evil clients // #define UF_DBCS_??? 0x00000800 // reserved @@ -46,6 +46,7 @@ (x != 'n') : \ (x == 'y') ) #define REJECT_OUTTAMAIL(x) (x.uflag & UF_REJ_OUTTAMAIL) +#define ISDBCSAWARE() (cuser.uflag & UF_DBCS_AWARE) /* -------------------- userec_t.uflag2 (unsigned int) */ |