mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-07 19:03:13 +02:00
compile fix
This commit is contained in:
@@ -140,7 +140,7 @@ int m_svsnick(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
{
|
||||
RunHook2(HOOKTYPE_LOCAL_NICKCHANGE, acptr, parv[2]);
|
||||
}
|
||||
(void)strlcpy(acptr->name, parv[2], acptr->name);
|
||||
(void)strlcpy(acptr->name, parv[2], sizeof acptr->name);
|
||||
(void)add_to_client_hash_table(parv[2], acptr);
|
||||
if (IsPerson(acptr))
|
||||
hash_check_watch(acptr, RPL_LOGON);
|
||||
|
||||
Reference in New Issue
Block a user