summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-12 21:57:39 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-12 21:57:39 +0000
commit2917d3996157c9750f25d0e4b352ab8ff6f906a5 (patch)
tree4f90e88f69790258fbec8a36e8c73da4dee768e8
parent97ef4d2d75c8a6df9f4a0383365c55ae4ea9cb22 (diff)
Remove some long commented out code: we never used to start unless a client port was bound
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9998 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index ab499f1d1..4383dc254 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -669,13 +669,6 @@ InspIRCd::InspIRCd(int argc, char** argv)
this->BuildISupport();
InitializeDisabledCommands(Config->DisabledCommands, this);
- /*if ((Config->ports.size() == 0) && (found_ports > 0))
- {
- printf("\nERROR: I couldn't bind any ports! Are you sure you didn't start InspIRCd twice?\n");
- Logs->Log("STARTUP", DEFAULT,"ERROR: I couldn't bind any ports! Something else is bound to those ports!");
- Exit(EXIT_STATUS_BIND);
- }*/
-
if (Config->ports.size() != (unsigned int)found_ports)
{
printf("\nWARNING: Not all your client ports could be bound --\nstarting anyway with %d of %d client ports bound.\n\n", bounditems, found_ports);