diff options
Diffstat (limited to 'modules/extra')
-rw-r--r-- | modules/extra/cs_set_misc.cpp | 1 | ||||
-rw-r--r-- | modules/extra/m_dnsbl.cpp | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/modules/extra/cs_set_misc.cpp b/modules/extra/cs_set_misc.cpp index 1ed2e3c64..cb654a9a1 100644 --- a/modules/extra/cs_set_misc.cpp +++ b/modules/extra/cs_set_misc.cpp @@ -23,7 +23,6 @@ class CommandCSSetMisc : public Command CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) { - User *u = source.u; ChannelInfo *ci = source.ci; if (!ci) throw CoreException("NULL ci in CommandCSSetMisc"); diff --git a/modules/extra/m_dnsbl.cpp b/modules/extra/m_dnsbl.cpp index b3f45ceb4..5c88e75b5 100644 --- a/modules/extra/m_dnsbl.cpp +++ b/modules/extra/m_dnsbl.cpp @@ -66,13 +66,13 @@ class DNSBLResolver : public DNSRequest Log(LOG_COMMAND, OperServ, &fake_akill) << "for " << user->GetMask() << " (Listed in " << this->blacklist.name << ")"; /* If AkillOnAdd is disabled send it anyway, noone wants bots around... */ if (!Config->AkillOnAdd) - ircdproto->SendAkill(x); + ircdproto->SendAkill(*user, x); } else { Log(OperServ) << "DNSBL: " << user->GetMask() << " appears in " << this->blacklist.name; XLine xline(Anope::string("*@") + user->host, OperServ ? OperServ->nick : "OperServ", Anope::CurTime + this->blacklist.bantime, reason); - ircdproto->SendAkill(&xline); + ircdproto->SendAkill(*user, &xline); } } }; |