From f1b08a52046923cf328d6c6d0640c21c0c360e63 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 14 Jun 2007 17:36:55 +0000 Subject: Fix for bug #315 reported by Nekos, change the exception tags to so they dont conflict with git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7305 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_securelist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3