summaryrefslogtreecommitdiff
path: root/include/commands.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-25 16:21:21 -0400
committerAdam <Adam@anope.org>2011-09-10 01:58:38 -0400
commitf025d1b495cee3aadb6b7b45652d1cab3b7b7b6d (patch)
tree02df5a3f12104996af87d1b6c5ec9db9d45b6bde /include/commands.h
parent8c4417cad180f3c5448c5b7509b1bf2235e3077e (diff)
Made service_reference type safe
Diffstat (limited to 'include/commands.h')
-rw-r--r--include/commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/commands.h b/include/commands.h
index 227483f63..02a89f416 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -62,7 +62,7 @@ struct CoreExport CommandSource
/** Every services command is a class, inheriting from Command.
*/
-class CoreExport Command : public Service, public Flags<CommandFlag>
+class CoreExport Command : public Service<Command>, public Flags<CommandFlag>
{
Anope::string desc;
std::vector<Anope::string> syntax;