From 50ea0efc0d6f4419eca32a2d0909756b5b4a7986 Mon Sep 17 00:00:00 2001 From: Steven Van Acker Date: Fri, 9 Nov 2012 15:36:38 +0100 Subject: wrong order of arguments to Host() --- src/modules/m_hostchange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_hostchange.cpp') diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp index b137f1418..6efa9974b 100644 --- a/src/modules/m_hostchange.cpp +++ b/src/modules/m_hostchange.cpp @@ -93,7 +93,7 @@ class ModuleHostChange : public Module else throw ModuleException("Invalid hostchange action: " + action); - hostchanges.push_back(std::make_pair(mask, Host(act, tag->getString("ports"), newhost))); + hostchanges.push_back(std::make_pair(mask, Host(act, newhost, tag->getString("ports")))); } } -- cgit v1.2.3