diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-15 21:04:32 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-15 21:04:32 +0000 |
commit | 2b68243097f98ace4a53b21520718874b0ed7db5 (patch) | |
tree | 5fbdbb4270efebbfb0956733d25b1245c8586d25 /src/modules/m_ident.cpp | |
parent | 03e0fb206d3f5709868f03bc7a401cb666c38ffb (diff) |
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
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r-- | src/modules/m_ident.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |