summaryrefslogtreecommitdiff
path: root/src/dnsqueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dnsqueue.cpp')
-rw-r--r--src/dnsqueue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp
index 74bcca34f..8ea0f3ec3 100644
--- a/src/dnsqueue.cpp
+++ b/src/dnsqueue.cpp
@@ -264,7 +264,7 @@ void dns_poll(int fdcheck)
* just to be safe so we dont get any more events
* about it.
*/
- if (SE)
+ if (ServerInstance && ServerInstance->SE)
ServerInstance->SE->DelFd(fdcheck);
}