From 13a5327b06c92663d4f80f72c0246ca4529e26e6 Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 16 Jan 2012 08:10:02 +0000 Subject: 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 --- pttbbs/daemon/regmaild/regmaild.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3