Commit Diff


commit - f2455cbe33aed1bbbef9dc31363cbf46ee87a4a3
commit + 757f3497bc594a5a950806279349d361be7a1515
blob - 977fc54666e75ee8e5d753104cd46512f8471382
blob + 5ec6162ca548c99024b8dad14b0297ac86b36a39
--- src/ngircd/irc-login.c
+++ src/ngircd/irc-login.c
@@ -971,7 +971,7 @@ Change_Nick(CLIENT *Origin, CLIENT *Target, char *NewN
 
 	/* Inform all servers and users (which have to know) of the new name */
 	if (InformClient) {
-		IRC_WriteStrClientPrefix(Target, Origin, "NICK :%s", NewNick);
+		IRC_WriteStrClientPrefix(Target, Target, "NICK :%s", NewNick);
 		IRC_WriteStrServersPrefix(NULL, Target, "NICK :%s", NewNick);
 	} else
 		IRC_WriteStrServersPrefix(Origin, Target, "NICK :%s", NewNick);