]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hostchange.cpp
Merge pull request #357 from StevenVanAcker/insp20
[user/henk/code/inspircd.git] / src / modules / m_hostchange.cpp
index b137f14188b6d3144e48f053e8b089ec8cf158ec..6efa9974bc1bff4aa4022e94b64cb95983e96a49 100644 (file)
@@ -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"))));
                }
        }