diff options
author | Adam <Adam@anope.org> | 2011-09-10 16:27:10 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-09-10 16:27:10 -0400 |
commit | 26c1d67556d1475c0a27938aa760f834469b1d43 (patch) | |
tree | bd9a14c1a4e5a058a2bf9912164542906f27f9d9 /src/command.cpp | |
parent | 3d5889c3089145af675a47267e15181bda84bf21 (diff) |
Fixed compile errors & warnings from 1.9.6 to 1.9 merge
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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<Command>(o, sname), Flags<CommandFlag>(CommandFlagStrings), MaxParams(max_params), MinParams(min_params), module(owner) |