1
0
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:
William Pitcock
2013-05-09 01:50:45 +00:00
parent df65c4bc92
commit 89d36ffbc8
+1 -1
View File
@@ -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));