Commit Diff


commit - c1656256df687c4a093ceb502de84bf4b0447f3c
commit + 39412d648652b3fcb387cf04bf7fa9004cfcd8ba
blob - 5af79396ee0add0ef82f5dd8a7905ccdce912636
blob + 9508ecc457b9037f389f4a5cd1bbf1b7cb6f17be
--- src/ngircd/irc.c
+++ src/ngircd/irc.c
@@ -440,8 +440,8 @@ Send_Message(CLIENT * Client, REQUEST * Req, int Force
 				    Client_Type(cl) != CLIENT_SERVICE)
 					continue;
 				if (nick != NULL && host != NULL) {
-					if (strcmp(nick, Client_ID(cl)) == 0 &&
-					    strcmp(user, Client_User(cl)) == 0 &&
+					if (strcasecmp(nick, Client_ID(cl)) == 0 &&
+					    strcasecmp(user, Client_User(cl)) == 0 &&
 					    strcasecmp(host, Client_HostnameCloaked(cl)) == 0)
 						break;
 					else
blob - eb26ac45a66828eb1f86b0e2a7acc7bf37b2d5a2
blob + d0ffcef99266556515c0c5f91fabab67a917f1ff
--- src/testsuite/message-test.e
+++ src/testsuite/message-test.e
@@ -35,7 +35,7 @@ expect {
 	"@* PRIVMSG nick :test\r*@* PRIVMSG nick :test"
 }
 
-send "privmsg nick,#testChannel,nick :test\r"
+send "privmsg Nick,#testChannel,nick :test\r"
 expect {
 	timeout { exit 1 }
 	"@* PRIVMSG nick :test\r*401*@* PRIVMSG nick :test"
@@ -47,7 +47,7 @@ expect {
 	"401"
 }
 
-send "privmsg ~user@ngircd.test.server :test\r"
+send "privmsg ~UsEr@ngIRCd.Test.Server :test\r"
 expect {
 	timeout { exit 1 }
 	"@* PRIVMSG nick :test"
@@ -65,7 +65,7 @@ expect {
 #	"@* PRIVMSG nick :test"
 #}
 #
-#send "privmsg nick!~user@localhost :test\r"
+#send "privmsg Nick!~User@LocalHost :test\r"
 #expect {
 #	timeout { exit 1 }
 #	"@* PRIVMSG nick :test"