diff options
Diffstat (limited to 'src/socket.cpp')
-rw-r--r-- | src/socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index 3c446c45b..284e51a4a 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -411,7 +411,7 @@ int InspIRCd::BindPorts(bool bail, int &ports_found) { irc::portparser portrange(configToken, false); long portno = -1; - while (portno = portrange.GetToken()) + while ((portno = portrange.GetToken())) { if (!HasPort(portno, Addr)) { |