summaryrefslogtreecommitdiff
path: root/src/modules/m_hostchange.cpp
diff options
context:
space:
mode:
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 099050a27..b137f1418 100644
--- a/src/modules/m_hostchange.cpp
+++ b/src/modules/m_hostchange.cpp
@@ -84,7 +84,7 @@ class ModuleHostChange : public Module
if (!strcasecmp(action.c_str(), "set"))
{
act = Host::HCA_SET;
- newhost = tag->getString("newhost");
+ newhost = tag->getString("value");
}
else if (!strcasecmp(action.c_str(), "suffix"))
act = Host::HCA_SUFFIX;