1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 23:13:14 +02:00

Fix for NICK+USER order. Should be correct? Should check identd..

This commit is contained in:
Bram Matthys
2019-06-04 20:05:27 +02:00
parent 5f8dd67051
commit 21f24cc596
+2 -2
View File
@@ -168,6 +168,8 @@ CMD_FUNC(m_user)
strlcpy(sptr->user->svid, sstamp, sizeof(sptr->user->svid));
strlcpy(sptr->info, realname, sizeof(sptr->info));
strlcpy(sptr->user->username, username, USERLEN + 1);
if (*sptr->name &&
(IsServer(cptr) || is_handshake_finished(cptr))
)
@@ -182,8 +184,6 @@ CMD_FUNC(m_user)
register_user(cptr, sptr, sptr->name, username, umodex,
virthost,ip));
}
else
strlcpy(sptr->user->username, username, USERLEN + 1);
return 0;
}