Commit Diff


commit - 9cd3494de92eccaa201f42fc8b02fc68c752aca8
commit + 560492a4a4bd2182e3eaa32a5d5db7582be97963
blob - 93ee07e82a0100b125f359110e35e285e0a83ab3
blob + b1b739b85a666c921371531ba4882da9991d6b72
--- src/ngircd/irc-login.c
+++ src/ngircd/irc-login.c
@@ -853,9 +853,10 @@ cb_Read_Auth_Result(int r_fd, UNUSED short events)
 		return;
 	}
 
-	if (result == true)
+	if (result == true) {
+		Client_SetUser(client, Client_OrigUser(client), true);
 		(void)Hello_User_PostAuth(client);
-	else
+	} else
 		Reject_Client(client);
 }