0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-28 16:34:13 +01:00

SIGNON: Do not send uninitialized data if login name starts with '*'.

This commit is contained in:
Jilles Tjoelker 2014-02-28 15:48:07 +01:00
parent 6993ae2760
commit 299e25a630

View file

@ -327,6 +327,8 @@ ms_signon(struct Client *client_p, struct Client *source_p,
else
return 0;
}
else
login[0] = '\0';
target_p = find_named_client(parv[1]);
if(target_p != NULL && target_p != source_p)