From 71f7e47bcd7b72d7999daa9f061c8850b5a6521b Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 6 May 2009 22:27:51 +0000 Subject: Remove FindDescriptor wrapper for GetRef, it doesn't do anything useful and in fact is a bit harmful in some ways as we've seen.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11364 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 6ea939e50..5ffaf1203 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -771,11 +771,6 @@ void InspIRCd::DumpText(User* User, const std::string &LinePrefix, std::stringst User->WriteServ(CompleteLine); } -User* FindDescriptorHandler::Call(int socket) -{ - return reinterpret_cast(Server->SE->GetRef(socket)); -} - bool InspIRCd::AddResolver(Resolver* r, bool cached) { if (!cached) -- cgit v1.3.1-10-gc9f91