From 026c55cafc2c8e33f4119cec3dbdd04ecdc897cd Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 4 Nov 2006 13:20:42 +0000 Subject: As requested by satmd, inspircd will now run with no client ports configured git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5643 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/inspircd.h b/include/inspircd.h index 1a56978a2..568c6a6a5 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -448,9 +448,10 @@ class InspIRCd : public classbase /** Bind all ports specified in the configuration file. * @param bail True if the function should bail back to the shell on failure + * @param found_ports The actual number of ports found in the config, as opposed to the number actually bound * @return The number of ports actually bound without error */ - int BindPorts(bool bail); + int BindPorts(bool bail, int &found_ports); /** Returns true if this server has the given port bound to the given address * @param port The port number -- cgit v1.2.3