summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/socket.cpp2
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))
{