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
"@* 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"
"401"
}
-send "privmsg ~user@ngircd.test.server :test\r"
+send "privmsg ~UsEr@ngIRCd.Test.Server :test\r"
expect {
timeout { exit 1 }
"@* PRIVMSG nick :test"
# "@* PRIVMSG nick :test"
#}
#
-#send "privmsg nick!~user@localhost :test\r"
+#send "privmsg Nick!~User@LocalHost :test\r"
#expect {
# timeout { exit 1 }
# "@* PRIVMSG nick :test"