diff options
| author | 2020-05-05 01:46:00 +0100 | |
|---|---|---|
| committer | 2020-05-05 01:49:35 +0100 | |
| commit | 90e64cbacefbc74a832b9389cf9b229fb9bfb4ee (patch) | |
| tree | 62bf543d553db0ba8486e210f6dc8a7c34333f1f /src/modules/m_hostchange.cpp | |
| parent | Allow enabling the message-tags cap without client-only tags. (diff) | |
Fix a typo in the hostchange module.
Diffstat (limited to 'src/modules/m_hostchange.cpp')
| -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()) |
