summaryrefslogtreecommitdiff
path: root/include/commands.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 /include/commands.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 'include/commands.h')
-rw-r--r--include/commands.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/commands.h b/include/commands.h
index f2b0592d4..2a1b34da2 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -170,6 +170,8 @@ class CoreExport Command : public Service
*/
static void Run(CommandSource &source, const Anope::string &message);
+ void Run(CommandSource &source, const Anope::string &, const CommandInfo &, std::vector<Anope::string> &params);
+
/** Looks up a command name from the service name.
* Note that if the same command exists multiple places this will return the first one encountered
* @param command_service The command service to lookup, eg, nickserv/register