summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Burchell <viroteck@viroteck.net>2012-03-22 14:43:31 -0700
committerRobin Burchell <viroteck@viroteck.net>2012-03-22 14:43:31 -0700
commit90d7cf63dec7e99c1e948c9c6d1688509f550b86 (patch)
tree932fe0c7ae8da1dca6b9cff977752a662be9f0f7
parent1485387c6580a787c4f9124216b65bab0b38c310 (diff)
parent8744cc1f741e5408724962a799470b75802d179b (diff)
Merge pull request #8 from kylef/hostchange
m_hostchange: Fix a typo preventing port filters from working
-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;