aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-08-27 15:09:40 +0100
committerGravatar Sadie Powell2024-08-27 15:09:40 +0100
commit1302f6ee6d0637df63beab1d38825547fbd0fc13 (patch)
treeb565caf770db6ccc28916af726ec4f02a30516da
parentFix measuring the CPU load on Windows. (diff)
Fix the argument to BindPorts not being documented.
-rw-r--r--include/inspircd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index f87c1ef23..e1b166a1b 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -271,9 +271,10 @@ public:
bool BindPort(const std::shared_ptr<ConfigTag>& tag, const irc::sockets::sockaddrs& sa, std::vector<ListenSocket*>& oldports, sa_family_t protocol);
/** Binds all ports specified in the configuration file.
+ * @param failedports The location to store details about the ports that failed to bind.
* @return The number of ports bound without error.
*/
- size_t BindPorts(FailedPortList& failed_ports);
+ size_t BindPorts(FailedPortList& failedports);
/** Compares a password to a hashed password.
* @param password The hashed password.