]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc.c
Rename ShowInvitesBans() to ShowChannelList(), make it more flexible
[ngircd-alex.git] / src / ngircd / irc.c
index 5af79396ee0add0ef82f5dd8a7905ccdce912636..9508ecc457b9037f389f4a5cd1bbf1b7cb6f17be 100644 (file)
@@ -440,8 +440,8 @@ Send_Message(CLIENT * Client, REQUEST * Req, int ForceType, bool SendErrors)
                                    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