diff options
author | Sadie Powell <sadie@witchery.services> | 2020-05-05 01:46:00 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-05-05 01:49:35 +0100 |
commit | 90e64cbacefbc74a832b9389cf9b229fb9bfb4ee (patch) | |
tree | 62bf543d553db0ba8486e210f6dc8a7c34333f1f | |
parent | 7488b2de62811d7f831e84fb0aeac2345a7f9ee9 (diff) |
Fix a typo in the hostchange module.
-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 b91ffc4b3..8d7abede4 100644 --- a/src/modules/m_hostchange.cpp +++ b/src/modules/m_hostchange.cpp @@ -140,7 +140,7 @@ private: insp::flat_set<int> ports; const std::string portlist = tag->getString("ports"); - if (!ports.empty()) + if (!portlist.empty()) { irc::portparser portrange(portlist, false); while (int port = portrange.GetToken()) |