summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-18 01:03:27 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-18 01:03:27 +0800
commitc396cff7309f1c04d4cfe7b26e4add9c77d3014a (patch)
treed1c1521c4ec74a28b4668b8cee6758d55f502c97 /mbbsd/mbbsd.c
parent47b892411221416eb0ad4840204b5d2714901ebb (diff)
downloadpttbbs-c396cff7309f1c04d4cfe7b26e4add9c77d3014a.tar
pttbbs-c396cff7309f1c04d4cfe7b26e4add9c77d3014a.tar.gz
pttbbs-c396cff7309f1c04d4cfe7b26e4add9c77d3014a.tar.bz2
pttbbs-c396cff7309f1c04d4cfe7b26e4add9c77d3014a.tar.lz
pttbbs-c396cff7309f1c04d4cfe7b26e4add9c77d3014a.tar.xz
pttbbs-c396cff7309f1c04d4cfe7b26e4add9c77d3014a.tar.zst
pttbbs-c396cff7309f1c04d4cfe7b26e4add9c77d3014a.zip
strip none-big5 string in user's mind
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2262 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 2a0e8167..7ccf5909 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -747,6 +747,7 @@ setup_utmp(int mode)
uinfo.pager = cuser.pager % 5;
uinfo.withme = cuser.withme;
memcpy(uinfo.mind, cuser.mind, 4);
+ strip_nonebig5(uinfo.mind, 4);
#ifdef WHERE
uinfo.from_alias = where(fromhost);
#endif