diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_securelist.cpp | 4 |
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); } |