diff options
-rw-r--r-- | docs/inspircd.conf.example | 6 | ||||
-rw-r--r-- | src/modules/m_securelist.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example index 4c35c3423..9854e4058 100644 --- a/docs/inspircd.conf.example +++ b/docs/inspircd.conf.example @@ -1804,9 +1804,9 @@ # Securelist can be harmful to some irc search engines such as # # netsplit.de and searchirc.com. To prevent securelist blocking these # # sites from listing, define exception tags as shown below: # -<securelist exception="*@*.searchirc.org"> -<securelist exception="*@*.netsplit.de"> -<securelist exception="*@echo940.server4you.de"> +<securehost exception="*@*.searchirc.org"> +<securehost exception="*@*.netsplit.de"> +<securehost exception="*@echo940.server4you.de"> # # # Define the following variable to change how long a user must wait # # before issuing a LIST. If not defined, defaults to 60 seconds. # 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); } |