summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-01-16 16:10:02 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-01-16 16:10:02 +0800
commit13a5327b06c92663d4f80f72c0246ca4529e26e6 (patch)
tree62ba0a43ce6dcf7d53f160e3e943ba50f883a2dc
parent352e6d1cf4abf065609228510ab7fb17a79530cc (diff)
downloadpttbbs-13a5327b06c92663d4f80f72c0246ca4529e26e6.tar
pttbbs-13a5327b06c92663d4f80f72c0246ca4529e26e6.tar.gz
pttbbs-13a5327b06c92663d4f80f72c0246ca4529e26e6.tar.bz2
pttbbs-13a5327b06c92663d4f80f72c0246ca4529e26e6.tar.lz
pttbbs-13a5327b06c92663d4f80f72c0246ca4529e26e6.tar.xz
pttbbs-13a5327b06c92663d4f80f72c0246ca4529e26e6.tar.zst
pttbbs-13a5327b06c92663d4f80f72c0246ca4529e26e6.zip
Add "2Zz" set to ambiguous Id list, although I think this is not really that confusing...
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5514 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/daemon/regmaild/regmaild.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pttbbs/daemon/regmaild/regmaild.c b/pttbbs/daemon/regmaild/regmaild.c
index 80edbfec..bc5a17d5 100644
--- a/pttbbs/daemon/regmaild/regmaild.c
+++ b/pttbbs/daemon/regmaild/regmaild.c
@@ -295,6 +295,7 @@ end:
#define AMBLIST1 "0Oo"
#define AMBLIST2 "1IliL"
#define AMBLIST3 "5Ss"
+#define AMBLIST4 "2Zz"
void
build_unambiguous_userid(char *uid)
@@ -304,6 +305,7 @@ build_unambiguous_userid(char *uid)
AMBLIST1,
AMBLIST2,
AMBLIST3,
+ AMBLIST4,
NULL
};
@@ -320,7 +322,7 @@ build_unambiguous_userid(char *uid)
}
}
-const char *ambchars = AMBLIST1 AMBLIST2 AMBLIST3; // super set of ambtbl
+const char *ambchars = AMBLIST1 AMBLIST2 AMBLIST3 AMBLIST4; // super set
typedef struct {
char *list;