summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/socket.h b/include/socket.h
index cad14499e..91a10d1f9 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -138,7 +138,7 @@ class CoreExport ListenSocket : public EventHandler
std::string bind_desc;
/** Create a new listening socket
*/
- ListenSocket(ConfigTag* tag, const std::string& addr, int port);
+ ListenSocket(ConfigTag* tag, const irc::sockets::sockaddrs& bind_to);
/** Handle an I/O event
*/
void HandleEvent(EventType et, int errornum = 0);