summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteven Van Acker <steven@singularity.be>2012-11-09 15:36:08 +0100
committerSteven Van Acker <steven@singularity.be>2012-11-09 15:36:08 +0100
commit6cb22b68b9dbe73217ae251e9708d22d5d16c16d (patch)
tree98227bf73f17e601c6a5f17aaceb3456592753b0 /src
parent6e8584b0f642afeec73990832f54ed4ba750b11f (diff)
use documented "value" attribute instead of undocumented "newhost"
Diffstat (limited to 'src')
-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;