diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-01 15:08:00 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-01 15:08:00 +0000 |
commit | 5ad936b13f317cb277bf03c19e9734d931b1bd00 (patch) | |
tree | bdf03705f0f250d44d2858349352f1e25d4871a0 /include | |
parent | b47228902d585dd16953b7f9bc395553890fc56e (diff) |
Remove unneeded paramaters from OnAcceptReady
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11581 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/socket.h | 6 |
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) { } }; |