summaryrefslogtreecommitdiff
path: root/modules/webcpanel/webcpanel.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-12-05 20:24:27 -0500
committerAdam <Adam@anope.org>2014-12-05 20:24:27 -0500
commite1f5e030bc8edac10da922e0402744b1e2f023c8 (patch)
tree4da3774510e5a3f1582e529cecb7f4abfba6b795 /modules/webcpanel/webcpanel.h
parentafffeb0a1d49c1ac8f06ac9850929a41a52cbc7e (diff)
Change webpanel access add to just add via the commands, split Command::Run into two so I can do this as I need to run named commands for it
Diffstat (limited to 'modules/webcpanel/webcpanel.h')
-rw-r--r--modules/webcpanel/webcpanel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/webcpanel/webcpanel.h b/modules/webcpanel/webcpanel.h
index 7e4b5a556..4b57cec8e 100644
--- a/modules/webcpanel/webcpanel.h
+++ b/modules/webcpanel/webcpanel.h
@@ -151,7 +151,9 @@ namespace WebPanel
* @param r Replacements, reply from command goes back here into key
* @param key The key to put the replies into r
*/
- extern void RunCommand(const Anope::string &user, NickCore *nc, const Anope::string &service, const Anope::string &c, const std::vector<Anope::string> &params, TemplateFileServer::Replacements &r, const Anope::string &key = "MESSAGES");
+ extern void RunCommand(const Anope::string &user, NickCore *nc, const Anope::string &service, const Anope::string &c, std::vector<Anope::string> &params, TemplateFileServer::Replacements &r, const Anope::string &key = "MESSAGES");
+
+ extern void RunCommandWithName(NickCore *nc, const Anope::string &service, const Anope::string &c, const Anope::string &cmdname, std::vector<Anope::string> &params, TemplateFileServer::Replacements &r, const Anope::string &key = "MESSAGES");
}
#include "pages/index.h"