summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2014-06-24 21:09:23 +0100
committerPeter Powell <petpow@saberuk.com>2014-06-24 21:09:23 +0100
commit09b6d78c9a615a789897694bcfa2752f3859001b (patch)
tree1c91ddcdbacb10a95bacf411fcce5b20ff2e25c0
parent9966a3a3b253fd3d22fffb4a0b04c9140da62898 (diff)
Fix copy/paste error in m_denychans.
-rw-r--r--src/modules/m_denychans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_denychans.cpp b/src/modules/m_denychans.cpp
index e774e92c8..39d9e0d34 100644
--- a/src/modules/m_denychans.cpp
+++ b/src/modules/m_denychans.cpp
@@ -57,7 +57,7 @@ class ModuleDenyChannels : public Module
if (InspIRCd::Match(redirect, j->second->getString("name")))
{
bool goodchan = false;
- ConfigTagList goodchans = ServerInstance->Config->ConfTags("badchan");
+ ConfigTagList goodchans = ServerInstance->Config->ConfTags("goodchan");
for (ConfigIter k = goodchans.first; k != goodchans.second; ++k)
{
if (InspIRCd::Match(redirect, k->second->getString("name")))