From 299e25a630d628fb5868d50d59729ad28525fd1f Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Fri, 28 Feb 2014 15:48:07 +0100 Subject: [PATCH] SIGNON: Do not send uninitialized data if login name starts with '*'. --- modules/m_signon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/m_signon.c b/modules/m_signon.c index 79480d94..58bf0655 100644 --- a/modules/m_signon.c +++ b/modules/m_signon.c @@ -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)