summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-26 00:10:46 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-26 00:10:46 +0200
commit68dba8dc27303b118fb5c7266a8459ca8ef68366 (patch)
tree0a23d34d8a198290b520e00baef1cebb455fb87c /src
parent983a22cef84af9201996094df137cf7b9ec5dceb (diff)
parent09b6d78c9a615a789897694bcfa2752f3859001b (diff)
Merge pull request #879 from SaberUK/insp20+fix-denychans
Fix copy/paste error in m_denychans.
Diffstat (limited to 'src')
-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")))