summaryrefslogtreecommitdiff
path: root/modules/commands/os_dns.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-07-26 08:45:44 -0400
committerAdam <Adam@anope.org>2013-07-26 08:45:44 -0400
commit3dc64bac4d436ba27683270b88c0cc5bfa346acc (patch)
treeaa1dd95d1c5d4618c06cb8662d9d888c0e5793c8 /modules/commands/os_dns.cpp
parent2450a64bf4dc55635c9f4c1c829f149dc6621b41 (diff)
Fix issues with 'Me' related to previous commit
Diffstat (limited to 'modules/commands/os_dns.cpp')
-rw-r--r--modules/commands/os_dns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_dns.cpp b/modules/commands/os_dns.cpp
index c71b1f887..0590bd704 100644
--- a/modules/commands/os_dns.cpp
+++ b/modules/commands/os_dns.cpp
@@ -686,7 +686,7 @@ class ModuleDNS : public Module
void OnNewServer(Server *s) anope_override
{
- if (s == Me || s->IsJuped())
+ if (Me == NULL || s == Me || s->IsJuped())
return;
if (!Me->IsSynced() || this->readd_connected_servers)
{