1
0
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:
Adam
2016-12-11 09:34:37 -05:00
parent e5125c2c84
commit 358f46b8ae
+1 -1
View File
@@ -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";
}