From 26c1d67556d1475c0a27938aa760f834469b1d43 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 10 Sep 2011 16:27:10 -0400 Subject: Fixed compile errors & warnings from 1.9.6 to 1.9 merge --- src/command.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/command.cpp b/src/command.cpp index 9d9e0d4f6..18260d530 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -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(o, sname), Flags(CommandFlagStrings), MaxParams(max_params), MinParams(min_params), module(owner) -- cgit