summaryrefslogtreecommitdiff
path: root/src/dnsqueue.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-29 00:31:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-29 00:31:45 +0000
commitd2a9c07bd45ab0c97b49364faf80588ff5558f8f (patch)
treec796b8250999d408a4b30b21281d7da5baaf8be1 /src/dnsqueue.cpp
parent0bf908e49c957ce35ac194a0c9b739f22d76182e (diff)
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
Diffstat (limited to 'src/dnsqueue.cpp')
-rw-r--r--src/dnsqueue.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}