X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Firc-login.c;h=9a04a3f74cf29c3eba66208904f8615fbf520c47;hp=95ec959cc0cf9bbf9d588e2776c4a51bbe59a442;hb=d93030ad27af9cd6a807de8f672ae73ec0e1dff8;hpb=4e125fb67cf9d00a9da0bf4602a4e5c0745bf282 diff --git a/src/ngircd/irc-login.c b/src/ngircd/irc-login.c index 95ec959c..9a04a3f7 100644 --- a/src/ngircd/irc-login.c +++ b/src/ngircd/irc-login.c @@ -672,7 +672,7 @@ Hello_User(CLIENT * Client) if (strcmp(Client_Password(Client), Conf_ServerPwd) != 0) { /* Bad password! */ Log(LOG_ERR, - "User \"%s\" rejected (connection %d): Bad password!", + "Client \"%s\" rejected (connection %d): Bad password!", Client_Mask(Client), Client_Conn(Client)); Conn_Close(Client_Conn(Client), NULL, "Bad password", true); return DISCONNECTED; @@ -742,6 +742,7 @@ Introduce_Client(CLIENT *From, CLIENT *Client) if (From) { if (Conf_IsService(Conf_GetServer(Client_Conn(From)), Client_ID(Client))) { type = "Service"; + Client_SetType(Client, CLIENT_SERVICE); } else type = "User"; LogDebug("%s \"%s\" (+%s) registered (via %s, on %s, %d hop%s).",