1
0
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:
Adam
2013-07-01 22:17:52 -04:00
parent 518182ac92
commit 1a3d9a016d
90 changed files with 3997 additions and 3570 deletions
+1 -3
View File
@@ -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());