mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-26 16:16:38 +02:00
- Fix bug with early ESVID implementations which use * instead of 0.
This commit is contained in:
@@ -190,7 +190,7 @@ DLLFUNC CMD_FUNC(m_user)
|
||||
user->ip_str = strdup(Inet_ia2p(&sptr->ip));
|
||||
user->server = me_hash;
|
||||
user_finish:
|
||||
if (sstamp != NULL)
|
||||
if (sstamp != NULL && *sstamp != '*')
|
||||
strlcpy(user->svid, sstamp, sizeof(user->svid));
|
||||
|
||||
strlcpy(sptr->info, realname, sizeof(sptr->info));
|
||||
|
||||
Reference in New Issue
Block a user