From 9d1fe6102c403e1d66f05463c5088e47682f9e01 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 7 Feb 2013 20:30:18 -0500 Subject: Made DNSServer::Find case insensitive --- modules/commands/os_dns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/commands/os_dns.cpp b/modules/commands/os_dns.cpp index 183ab83e4..42d6193b9 100644 --- a/modules/commands/os_dns.cpp +++ b/modules/commands/os_dns.cpp @@ -189,7 +189,7 @@ class DNSServer : public Serializable static DNSServer *Find(const Anope::string &s) { for (unsigned i = 0; i < dns_servers->size(); ++i) - if (dns_servers->at(i)->GetName() == s) + if (dns_servers->at(i)->GetName().equals_ci(s)) { DNSServer *serv = dns_servers->at(i); serv->QueueUpdate(); -- cgit