summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_pgsql.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-09-27 12:51:53 +0100
committerPeter Powell <petpow@saberuk.com>2018-09-27 12:51:53 +0100
commit36e701f4abfa6d8fc4f096be023a681a6b7cec2e (patch)
tree0da034471545379573d7d648d43ab89d133d7cb0 /src/modules/extra/m_pgsql.cpp
parent2af0476c5a35bfca06820f923debedf4fbc93cb8 (diff)
Fix SQL modules using "provider" in <database> instead of "module".
This fixes a regression introduced in 97a1d642.
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 ec89208dd..bb727b623 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 (!stdalgo::string::equalsci(i->second->getString("provider"), "pgsql"))
+ if (!stdalgo::string::equalsci(i->second->getString("module"), "pgsql"))
continue;
std::string id = i->second->getString("id");
ConnMap::iterator curr = connections.find(id);