From c67ab9aa97de6072e40efa528e80ffb2a7e45280 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 7 Aug 2007 00:19:13 +0000 Subject: 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/trunk/inspircd@7684 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index b5680bd73..46bb9231e 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -864,7 +864,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); -- cgit v1.2.3