diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-07 21:29:46 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-07 21:29:46 +0000 |
commit | 847830b43ee4f988ca7debe041c09ef3d1e277e7 (patch) | |
tree | 1b1a71675945420a7217d23080376fe0ed54e481 /src | |
parent | 358f2064c432e1e3ef153adeb5aed0fa2e35efde (diff) |
Check earlier on is no longer required
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4775 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/socket.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index cbb2a213c..04a4f5f15 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -419,15 +419,6 @@ int BindPorts(bool bail) } } } - - /* if we didn't bind to anything then abort */ - if (!BoundPortCount) - { - log(DEFAULT,"No ports bound, bailing!"); - printf("\nERROR: Could not bind any of %d ports! Please check your configuration.\n\n", PortCount); - return 0; - } - return BoundPortCount; } |