From 2b68243097f98ace4a53b21520718874b0ed7db5 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 15 Oct 2007 21:04:32 +0000 Subject: InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ident etc will use. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8206 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ident.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_ident.cpp') diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 5e7e6ccd0..6b1d77945 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -18,14 +18,14 @@ /* $ModDesc: Provides support for RFC1413 ident lookups */ -class IdentRequestSocket : public InspSocket +class IdentRequestSocket : public BufferedSocket { private: User *user; int original_fd; public: IdentRequestSocket(InspIRCd *Server, User *user, int timeout, const std::string &bindip) - : InspSocket(Server, user->GetIPString(), 113, false, timeout, bindip), user(user) + : BufferedSocket(Server, user->GetIPString(), 113, false, timeout, bindip), user(user) { original_fd = user->GetFd(); Instance->Log(DEBUG, "Ident request against user with fd %d", original_fd); @@ -95,7 +95,7 @@ class IdentRequestSocket : public InspSocket Instance->next_call = Instance->Time(); } - virtual void OnError(InspSocketError e) + virtual void OnError(BufferedSocketError e) { if (Instance->SE->GetRef(original_fd) == user) { -- cgit v1.3.1-10-gc9f91