diff options
author | Steven Van Acker <steven@singularity.be> | 2012-11-09 15:36:08 +0100 |
---|---|---|
committer | Steven Van Acker <steven@singularity.be> | 2012-11-09 15:36:08 +0100 |
commit | 6cb22b68b9dbe73217ae251e9708d22d5d16c16d (patch) | |
tree | 98227bf73f17e601c6a5f17aaceb3456592753b0 /src | |
parent | 6e8584b0f642afeec73990832f54ed4ba750b11f (diff) |
use documented "value" attribute instead of undocumented "newhost"
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_hostchange.cpp | 2 |
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; |