1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 09:03:12 +02:00

Fix dropping channels in the webpanel

This commit is contained in:
Adam
2013-12-26 08:02:19 -05:00
parent 19eccf0cae
commit fc0e8264c0
@@ -21,7 +21,9 @@ bool WebCPanel::ChanServ::Drop::OnRequest(HTTPProvider *server, const Anope::str
if (message.post_data["channel"] == message.post_data["confChan"])
{
std::vector<Anope::string> params;
params.push_back(HTTPUtils::URLDecode(message.post_data["channel"]));
const Anope::string &channel = HTTPUtils::URLDecode(message.post_data["channel"]);
params.push_back(channel);
params.push_back(channel);
WebPanel::RunCommand(na->nc->display, na->nc, "ChanServ", "chanserv/drop", params, replacements);
}