summaryrefslogtreecommitdiffstats
path: root/mbbsd/register.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/register.c')
-rw-r--r--mbbsd/register.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c
index b5a22faf..3db22103 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -717,10 +717,15 @@ new_register(void)
#endif
#ifdef DBCSAWARE
+# ifdef DBCSAWARE_SKIP_EVIL_REPEATS_CHECK
if(u_detectDBCSAwareEvilClient())
newuser.uflag &= ~UF_DBCSAWARE;
else
newuser.uflag |= UF_DBCSAWARE;
+# else
+ // since we check for repeats, safe to set DBCS aware to user
+ newuser.uflag |= UF_DBCSAWARE;
+# endif
#endif
more("etc/register", NA);