1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 01:16:38 +02:00

Fixed compile errors & warnings from 1.9.6 to 1.9 merge

This commit is contained in:
Adam
2011-09-10 16:27:10 -04:00
parent 3d5889c308
commit 26c1d67556
4 changed files with 4 additions and 11 deletions
+1 -4
View File
@@ -32,10 +32,7 @@ void CommandSource::Reply(const Anope::string &message)
sepstream sep(translated_message, '\n');
Anope::string tok;
while (sep.GetToken(tok))
{
const char *translated_message = translate(this->u, tok.c_str());
u->SendMessage(this->service, translated_message);
}
u->SendMessage(this->service, tok);
}
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)