summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Van Acker <steven@singularity.be>2012-11-09 15:36:38 +0100
committerSteven Van Acker <steven@singularity.be>2012-11-09 15:36:38 +0100
commit50ea0efc0d6f4419eca32a2d0909756b5b4a7986 (patch)
treee50203b6f35525d2a647a69c0369ba48ea686606
parent6cb22b68b9dbe73217ae251e9708d22d5d16c16d (diff)
wrong order of arguments to Host()
-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 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"))));
}
}