summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_pgsql.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-07-24 18:29:43 +0100
committerPeter Powell <petpow@saberuk.com>2018-07-24 21:55:10 +0100
commit97a1d6429a735eb279496df010d04e3f42aa4e22 (patch)
treea201d8ffe678e5929a2b1d373eef8082d8c6150d /src/modules/extra/m_pgsql.cpp
parent7a24867d97c6ffe75b155d96dedb11b30b904a33 (diff)
Make more config stuff case insensitive.
Diffstat (limited to 'src/modules/extra/m_pgsql.cpp')
-rw-r--r--src/modules/extra/m_pgsql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp
index 8beea1265..220168b84 100644
--- a/src/modules/extra/m_pgsql.cpp
+++ b/src/modules/extra/m_pgsql.cpp
@@ -546,7 +546,7 @@ class ModulePgSQL : public Module
ConfigTagList tags = ServerInstance->Config->ConfTags("database");
for(ConfigIter i = tags.first; i != tags.second; i++)
{
- if (i->second->getString("module", "pgsql") != "pgsql")
+ if (!stdalgo::string::equalsci(i->second->getString("provider"), "pgsql"))
continue;
std::string id = i->second->getString("id");
ConnMap::iterator curr = connections.find(id);