summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/socket.h b/include/socket.h
index f7590c72d..a2b727499 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -184,16 +184,14 @@ class CoreExport ListenSocketBase : public EventHandler
void AcceptInternal();
/** Called when a new connection has successfully been accepted on this listener.
- * @param ipconnectedto The IP address the connection arrived on
* @param fd The file descriptor of the new connection
- * @param incomingip The IP from which the connection was made
*/
- virtual void OnAcceptReady(const std::string &ipconnectedto, int fd, const std::string &incomingip) = 0;
+ virtual void OnAcceptReady(int fd) = 0;
};
class CoreExport ClientListenSocket : public ListenSocketBase
{
- virtual void OnAcceptReady(const std::string &ipconnectedto, int fd, const std::string &incomingip);
+ virtual void OnAcceptReady(int fd);
public:
ClientListenSocket(InspIRCd* Instance, int port, const std::string &addr) : ListenSocketBase(Instance, port, addr) { }
};