diff options
| author | 2021-07-17 09:46:18 +0100 | |
|---|---|---|
| committer | 2021-07-17 09:46:18 +0100 | |
| commit | 954d12252aa662623c36dc8f89c7f8f609529066 (patch) | |
| tree | eb513cda1ee717f75a37c9f3af66aed03a20c840 /src/modules/m_hostchange.cpp | |
| parent | Drop support for the legacy PROTOCTL extension. (diff) | |
Fix a shortening issue in hostchange.
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 57eb0ac92..53570a769 100644 --- a/src/modules/m_hostchange.cpp +++ b/src/modules/m_hostchange.cpp @@ -61,7 +61,7 @@ class HostRule if (!portlist.empty()) { irc::portparser portrange(portlist, false); - while (int port = portrange.GetToken()) + while (long port = portrange.GetToken()) ports.insert(port); } } |
