summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-06 22:27:51 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-06 22:27:51 +0000
commit71f7e47bcd7b72d7999daa9f061c8850b5a6521b (patch)
tree7302be21da0d2cf757644326d67770a9cd63fca2 /src/modules.cpp
parent5a3d1bd4608b46fae23414822ad7512410dd773b (diff)
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
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp5
1 files changed, 0 insertions, 5 deletions
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<User*>(Server->SE->GetRef(socket));
-}
-
bool InspIRCd::AddResolver(Resolver* r, bool cached)
{
if (!cached)