summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-11 20:38:37 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-11 20:38:37 +0000
commit77d81c3d575a1bc83e03353cb41eac350952f112 (patch)
tree651ba8d9558b5a5046040fd40906268e6fb28348
parent8dd8b4e26819fd483776a3535b9c03d8abab624f (diff)
fix a compile warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5698 e03df62e-2008-0410-955e-edbf42e46eb7
-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))
{