From 6d337f6019505528d09453a2fd08c914321e0d08 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 7 Aug 2007 00:19:52 +0000 Subject: [PATCH] Backport: Check for remote and sighup rehashes here, so that it doesnt crash if there are ports that cant be bound git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7685 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configreader.cpp b/src/configreader.cpp index d4291692f..ea6afa2ff 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -872,7 +872,7 @@ void ServerConfig::Read(bool bail, userrec* user) FailedPortList pl; ServerInstance->BindPorts(false, found_ports, pl); - if (pl.size()) + if (pl.size() && user) { user->WriteServ("NOTICE %s :*** Not all your client ports could be bound.", user->nick); user->WriteServ("NOTICE %s :*** The following port(s) failed to bind:", user->nick);