summaryrefslogtreecommitdiff
path: root/modules/extra
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra')
-rw-r--r--modules/extra/m_dnsbl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/extra/m_dnsbl.cpp b/modules/extra/m_dnsbl.cpp
index ce82b68a4..6360c3753 100644
--- a/modules/extra/m_dnsbl.cpp
+++ b/modules/extra/m_dnsbl.cpp
@@ -27,9 +27,11 @@ class DNSBLResolver : public DNSRequest
void OnLookupComplete(const DNSRecord *)
{
- if (!user)
+ if (!user || user->GetExt("m_dnsbl_akilled"))
return;
+ user->Extend("m_dnsbl_akilled");
+
Anope::string reason = this->blacklist.reason;
reason = reason.replace_all_ci("%i", user->ip.addr());
reason = reason.replace_all_ci("%h", user->host);