mirror of
https://github.com/anope/anope.git
synced 2026-07-08 11:43:14 +02:00
Change extensible keys to require explicitly having a type defined for it. Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
This commit is contained in:
+1
-3
@@ -34,7 +34,7 @@ class DNSBLResolver : public Request
|
||||
|
||||
void OnLookupComplete(const Query *record) anope_override
|
||||
{
|
||||
if (!user || user->HasExt("m_dnsbl_akilled"))
|
||||
if (!user || user->Quitting())
|
||||
return;
|
||||
|
||||
const ResourceRecord &ans_record = record->answers[0];
|
||||
@@ -54,8 +54,6 @@ class DNSBLResolver : public Request
|
||||
record_reason = this->blacklist.replies[result];
|
||||
}
|
||||
|
||||
user->Extend("m_dnsbl_akilled");
|
||||
|
||||
Anope::string reason = this->blacklist.reason;
|
||||
reason = reason.replace_all_cs("%n", user->nick);
|
||||
reason = reason.replace_all_cs("%u", user->GetIdent());
|
||||
|
||||
Reference in New Issue
Block a user