From 09b6d78c9a615a789897694bcfa2752f3859001b Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 24 Jun 2014 21:09:23 +0100 Subject: Fix copy/paste error in m_denychans. --- src/modules/m_denychans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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"))) -- cgit v1.2.3