mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +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++)
|
||||
{
|
||||
if(*s == '@')
|
||||
if(*s == '@' || *s == '\r' || *s == '\n')
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue