summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-05-05 01:46:00 +0100
committerSadie Powell <sadie@witchery.services>2020-05-05 01:49:35 +0100
commit90e64cbacefbc74a832b9389cf9b229fb9bfb4ee (patch)
tree62bf543d553db0ba8486e210f6dc8a7c34333f1f /src
parent7488b2de62811d7f831e84fb0aeac2345a7f9ee9 (diff)
Fix a typo in the hostchange module.
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 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())