mirror of
https://github.com/anope/anope.git
synced 2026-07-07 19:03:14 +02:00
Fix setting kill quick in webcpanel
This commit is contained in:
@@ -72,7 +72,7 @@ bool WebCPanel::NickServ::Info::OnRequest(HTTPProvider *server, const Anope::str
|
||||
}
|
||||
else if (message.post_data["kill"] == "quick" && !na->nc->HasExt("KILL_QUICK"))
|
||||
{
|
||||
na->nc->Shrink<bool>("KILLPROTECT");
|
||||
na->nc->Extend<bool>("KILLPROTECT");
|
||||
na->nc->Extend<bool>("KILL_QUICK");
|
||||
replacements["MESSAGES"] = "Kill updated";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user