diff options
| author | 2006-11-04 13:20:42 +0000 | |
|---|---|---|
| committer | 2006-11-04 13:20:42 +0000 | |
| commit | 026c55cafc2c8e33f4119cec3dbdd04ecdc897cd (patch) | |
| tree | bc9aa0185fcb74adcf59153b830612ab170f5555 /include | |
| parent | Merge peaveys patch, tracker #162 (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.h | 3 |
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 |
