From 11cc922584b050b3242e1f50b6821e973d42b3f5 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 14 Jan 2019 21:33:51 +0000 Subject: Fix the hostchange set action swapping the host/value fields. --- 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 201c4b59b..4c9b24140 100644 --- a/src/modules/m_hostchange.cpp +++ b/src/modules/m_hostchange.cpp @@ -47,7 +47,7 @@ class HostRule std::string suffix; public: - HostRule(const std::string& Host, const std::string& Mask, const insp::flat_set& Ports) + HostRule(const std::string& Mask, const std::string& Host, const insp::flat_set& Ports) : action(HCA_SET) , host(Host) , mask(Mask) -- cgit v1.2.3