From 6cb22b68b9dbe73217ae251e9708d22d5d16c16d Mon Sep 17 00:00:00 2001 From: Steven Van Acker Date: Fri, 9 Nov 2012 15:36:08 +0100 Subject: use documented "value" attribute instead of undocumented "newhost" --- src/modules/m_hostchange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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; -- cgit v1.2.3