summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-14 17:36:55 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-14 17:36:55 +0000
commitf1b08a52046923cf328d6c6d0640c21c0c360e63 (patch)
tree24529e925de74fef60140b148fd79f91435304cb /src
parent67e055124dfbbb73b50f90cd1a1eb1be648d9379 (diff)
Fix for bug #315 reported by Nekos, change the exception tags to <securehost> so they dont conflict with <securelist:waittime>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7305 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_securelist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_securelist.cpp b/src/modules/m_securelist.cpp
index 9822f6937..d98870425 100644
--- a/src/modules/m_securelist.cpp
+++ b/src/modules/m_securelist.cpp
@@ -42,8 +42,8 @@ class ModuleSecureList : public Module
{
ConfigReader* MyConf = new ConfigReader(ServerInstance);
allowlist.clear();
- for (int i = 0; i < MyConf->Enumerate("securelist"); i++)
- allowlist.push_back(MyConf->ReadValue("securelist", "exception", i));
+ for (int i = 0; i < MyConf->Enumerate("securehost"); i++)
+ allowlist.push_back(MyConf->ReadValue("securehost", "exception", i));
WaitTime = MyConf->ReadInteger("securelist", "waittime", "60", 0, true);
DELETE(MyConf);
}