mirror of
https://github.com/matrix-construct/construct
synced 2024-12-29 08:54:02 +01:00
SIGNON: Do not send uninitialized data if login name starts with '*'.
This commit is contained in:
parent
6993ae2760
commit
299e25a630
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue