summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-01-14 21:33:51 +0000
committerPeter Powell <petpow@saberuk.com>2019-01-14 21:33:51 +0000
commit11cc922584b050b3242e1f50b6821e973d42b3f5 (patch)
tree328b0d918836e49ee32671b02763dde13349d507 /src
parentf400d5f394a258dee58fb56420acd65e22503761 (diff)
Fix the hostchange set action swapping the host/value fields.
Diffstat (limited to 'src')
-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 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<int>& Ports)
+ HostRule(const std::string& Mask, const std::string& Host, const insp::flat_set<int>& Ports)
: action(HCA_SET)
, host(Host)
, mask(Mask)