summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-02-07 20:30:18 -0500
committerAdam <Adam@anope.org>2013-02-07 21:49:49 -0500
commit9d1fe6102c403e1d66f05463c5088e47682f9e01 (patch)
treec27fcd8326f3b9724b62ca2a13b1449cb506058e
parent2472a41561d178dc0b6167dc1837df7cc1d52945 (diff)
Made DNSServer::Find case insensitive
-rw-r--r--modules/commands/os_dns.cpp2
1 files changed, 1 insertions, 1 deletions
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();