summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-22 16:46:44 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-08-22 16:46:44 +0200
commit90ea1b01b78a94486b8142808c06aacff543ca64 (patch)
tree50d3582ff28f56a3816307cc6e10fc4f775d2e2a /src/configreader.cpp
parent0562561425f133874685789269c8ab1aa053c95f (diff)
Add stdalgo::string::equalsci and use it instead of irc::string for case-insensitive comparison
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 8a432e82f..0299b326a 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -433,11 +433,11 @@ void ServerConfig::Fill()
throw CoreException(Network + " is not a valid network name. A network name must not contain spaces.");
std::string defbind = options->getString("defaultbind");
- if (assign(defbind) == "ipv4")
+ if (stdalgo::string::equalsci(defbind, "ipv4"))
{
WildcardIPv6 = false;
}
- else if (assign(defbind) == "ipv6")
+ else if (stdalgo::string::equalsci(defbind, "ipv6"))
{
WildcardIPv6 = true;
}