]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix a typo in the hostchange module.
authorSadie Powell <sadie@witchery.services>
Tue, 5 May 2020 00:46:00 +0000 (01:46 +0100)
committerSadie Powell <sadie@witchery.services>
Tue, 5 May 2020 00:49:35 +0000 (01:49 +0100)
src/modules/m_hostchange.cpp

index b91ffc4b31f4d7b2147fbb6fe6600c12b5e1ccfe..8d7abede47bbaca538b9db5465900bd5095ce5fd 100644 (file)
@@ -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())