Temp quick fix for minor issue as well (#5688).

Proper PR from k4be will be done post-5.0.5.1.
pull/1/head
Bram Matthys 3 years ago
parent d2efe01d9b
commit 3be50cb8d4
No known key found for this signature in database
GPG Key ID: BF8116B163EAAE98

@ -407,7 +407,7 @@ void do_svsmode(Client *client, MessageTag *recv_mtags, int parc, char *parv[],
if (parv[3])
{
strlcpy(target->user->svid, parv[3], sizeof(target->user->svid));
if(MyConnect(target))
if(MyConnect(target) && (parv[3][0] != '0'))
/* Notify user */
sendnumeric(target, RPL_LOGGEDIN,
BadPtr(target->name) ? "*" : target->name,

Loading…
Cancel
Save