summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-16 17:04:53 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-16 17:04:53 +0800
commit308ad7194aa1632322c33d695198fefd7d4f3b79 (patch)
treea523ad1f22d35e4a7557609281fc39353cd0b8e5 /mbbsd/mbbsd.c
parent6c39455827991ffd8a4f6916e776c862cc2aefdf (diff)
downloadpttbbs-308ad7194aa1632322c33d695198fefd7d4f3b79.tar
pttbbs-308ad7194aa1632322c33d695198fefd7d4f3b79.tar.gz
pttbbs-308ad7194aa1632322c33d695198fefd7d4f3b79.tar.bz2
pttbbs-308ad7194aa1632322c33d695198fefd7d4f3b79.tar.lz
pttbbs-308ad7194aa1632322c33d695198fefd7d4f3b79.tar.xz
pttbbs-308ad7194aa1632322c33d695198fefd7d4f3b79.tar.zst
pttbbs-308ad7194aa1632322c33d695198fefd7d4f3b79.zip
strip none-big5 char in user's nick
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2257 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 101299c9..2a0e8167 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -734,7 +734,7 @@ setup_utmp(int mode)
strlcpy(uinfo.userid, cuser.userid, sizeof(uinfo.userid));
//strlcpy(uinfo.realname, cuser.realname, sizeof(uinfo.realname));
strlcpy(uinfo.username, cuser.username, sizeof(uinfo.username));
- strip_iac(uinfo.username, sizeof(uinfo.username));
+ strip_nonebig5(uinfo.username, sizeof(uinfo.username));
strlcpy(uinfo.from, fromhost, sizeof(uinfo.from));
uinfo.five_win = cuser.five_win;
uinfo.five_lose = cuser.five_lose;