summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:08:00 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:08:00 +0000
commit5ad936b13f317cb277bf03c19e9734d931b1bd00 (patch)
treebdf03705f0f250d44d2858349352f1e25d4871a0 /include/socket.h
parentb47228902d585dd16953b7f9bc395553890fc56e (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/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) { }
};