From d2a9c07bd45ab0c97b49364faf80588ff5558f8f Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 29 Dec 2005 00:31:45 +0000 Subject: Fixed an extremely n00bish mistake involving referencing a global copy of ServerEngine when we now use one local to class InspIRCd (everyone point and laugh at Brain) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2692 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dnsqueue.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dnsqueue.cpp') diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp index c0f516e74..74bcca34f 100644 --- a/src/dnsqueue.cpp +++ b/src/dnsqueue.cpp @@ -50,8 +50,8 @@ using namespace std; #include "hashcomp.h" #include "socketengine.h" -extern SocketEngine* SE; extern ServerConfig* Config; +extern InspIRCd* ServerInstance; class Lookup; @@ -265,6 +265,6 @@ void dns_poll(int fdcheck) * about it. */ if (SE) - SE->DelFd(fdcheck); + ServerInstance->SE->DelFd(fdcheck); } -- cgit v1.2.3