summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-04 13:20:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-04 13:20:42 +0000
commit026c55cafc2c8e33f4119cec3dbdd04ecdc897cd (patch)
treebc9aa0185fcb74adcf59153b830612ab170f5555 /include
parente53d30bc6d4c3b002f08569b68affa540104d5cf (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h3
1 files changed, 2 insertions, 1 deletions
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