summaryrefslogtreecommitdiff
path: root/src/modules/m_hostchange.cpp
diff options
context:
space:
mode:
authorKyle Fuller <inbox@kylefuller.co.uk>2012-03-22 16:23:03 +0000
committerKyle Fuller <inbox@kylefuller.co.uk>2012-03-22 16:23:03 +0000
commit8744cc1f741e5408724962a799470b75802d179b (patch)
tree932fe0c7ae8da1dca6b9cff977752a662be9f0f7 /src/modules/m_hostchange.cpp
parent1485387c6580a787c4f9124216b65bab0b38c310 (diff)
m_hostchange: Fix a typo preventing port filters from working
Diffstat (limited to 'src/modules/m_hostchange.cpp')
-rw-r--r--src/modules/m_hostchange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp
index 20c7e5bc2..6e4600da6 100644
--- a/src/modules/m_hostchange.cpp
+++ b/src/modules/m_hostchange.cpp
@@ -73,7 +73,7 @@ class ModuleHostChange : public Module
for (int index = 0; index < Conf.Enumerate("hostchange"); index++)
{
std::string mask = Conf.ReadValue("hostchange", "mask", index);
- std::string ports = Conf.ReadValue("hosthange", "ports", index);
+ std::string ports = Conf.ReadValue("hostchange", "ports", index);
std::string action = Conf.ReadValue("hostchange", "action", index);
std::string newhost = Conf.ReadValue("hostchange", "value", index);
Host* x = new Host;