mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -04:00
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
This commit is contained in:
parent
ffe85d0764
commit
6d337f6019
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user