diff options
| author | 2012-11-09 15:36:38 +0100 | |
|---|---|---|
| committer | 2012-11-09 15:36:38 +0100 | |
| commit | 50ea0efc0d6f4419eca32a2d0909756b5b4a7986 (patch) | |
| tree | e50203b6f35525d2a647a69c0369ba48ea686606 /src/modules/m_hostchange.cpp | |
| parent | use documented "value" attribute instead of undocumented "newhost" (diff) | |
wrong order of arguments to Host()
Diffstat (limited to 'src/modules/m_hostchange.cpp')
| -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 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")))); } } |
