projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Author: Alex Badea <vamposdecampos@gmail.com>
[ircu2.10.12-pk.git]
/
ircd
/
s_auth.c
diff --git
a/ircd/s_auth.c
b/ircd/s_auth.c
index 15ccb1335b649a133a626301c9fcc12b8fcd9ee7..6dd7b2d709a9abd725f8bc9198262eff90ef9115 100644
(file)
--- a/
ircd/s_auth.c
+++ b/
ircd/s_auth.c
@@
-322,7
+322,7
@@
static int auth_set_username(struct AuthRequest *auth)
if (!lower && !upper)
goto badid;
/* Final character must not be punctuation. */
- if (!IsAlnum(
ch
))
+ if (!IsAlnum(
last
))
goto badid;
}