mirror of
https://github.com/matrix-construct/construct
synced 2024-11-19 00:10:59 +01:00
s_auth: remove trailing whitespace at end of usernames.
This commit is contained in:
parent
938f93f4bc
commit
3f7039934f
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ read_auth_reply(rb_fde_t *F, void *data)
|
||||||
|
|
||||||
for (count = USERLEN; *s && count; s++)
|
for (count = USERLEN; *s && count; s++)
|
||||||
{
|
{
|
||||||
if(*s == '@')
|
if(*s == '@' || *s == '\r' || *s == '\n')
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue