8 #include "../../webcpanel.h" 23 std::vector<Anope::string> params;
25 params.push_back(channel);
26 params.push_back(channel);
31 replacements[
"MESSAGES"] =
"Invalid Confirmation";
34 std::deque<ChannelInfo *> queue;
35 na->
nc->GetChannelReferences(queue);
36 for (
unsigned i = 0; i < queue.size(); ++i)
41 replacements[
"CHANNEL_NAMES"] = ci->
name;
46 if (message.
get_data.count(
"channel") > 0)
50 replacements[
"CHANNEL_DROP"] = chname;
55 page.
Serve(server, page_name, client, message, reply, replacements);
Serialize::Reference< NickCore > nc
void Serve(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &, Replacements &)
bool HasExt(const Anope::string &name) const
Anope::string URLEncode(const Anope::string &url)
bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &, NickAlias *, TemplateFileServer::Replacements &) anope_override
void RunCommand(const Anope::string &user, NickCore *nc, const Anope::string &service, const Anope::string &c, const std::vector< Anope::string > ¶ms, TemplateFileServer::Replacements &r, const Anope::string &key)
bool HasPriv(const Anope::string &priv) const
Drop(const Anope::string &cat, const Anope::string &u)
AccessGroup AccessFor(const User *u)
std::map< Anope::string, Anope::string > post_data
Anope::string URLDecode(const Anope::string &url)
std::map< Anope::string, Anope::string > get_data