From 90e64cbacefbc74a832b9389cf9b229fb9bfb4ee Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 5 May 2020 01:46:00 +0100 Subject: Fix a typo in the hostchange module. --- src/modules/m_hostchange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_hostchange.cpp') 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 ports; const std::string portlist = tag->getString("ports"); - if (!ports.empty()) + if (!portlist.empty()) { irc::portparser portrange(portlist, false); while (int port = portrange.GetToken()) -- cgit v1.3.1-10-gc9f91