1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 06:56:39 +02:00

Made service_reference type safe

This commit is contained in:
Adam
2011-08-25 16:21:21 -04:00
parent 8c4417cad1
commit f025d1b495
164 changed files with 86 additions and 374 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ void CommandSource::DoReply()
}
}
Command::Command(Module *o, const Anope::string &sname, size_t min_params, size_t max_params) : Service(o, sname), Flags<CommandFlag>(CommandFlagStrings), MaxParams(max_params), MinParams(min_params), module(owner)
Command::Command(Module *o, const Anope::string &sname, size_t min_params, size_t max_params) : Service<Command>(o, sname), Flags<CommandFlag>(CommandFlagStrings), MaxParams(max_params), MinParams(min_params), module(owner)
{
}