diff options
author | Adam <Adam@anope.org> | 2011-09-03 00:17:01 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-09-10 02:05:56 -0400 |
commit | 19e0b87aa1f41c3aabf6afc87ecdc8517dd47af0 (patch) | |
tree | e81fc3d3b0b1ed04a2762bd3156094d4196e304d /src/bots.cpp | |
parent | 17ea4ed8f5c4b08668223897c6de87dd3bdd598c (diff) |
Removed /bs set msg
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index 379836ec2..f3c0af4fd 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -253,16 +253,12 @@ void BotInfo::OnMessage(User *u, const Anope::string &message) EventReturn MOD_RESULT; FOREACH_RESULT(I_OnPreCommand, OnPreCommand(source, c, params)); if (MOD_RESULT == EVENT_STOP) - { - source.DoReply(); return; - } if (params.size() < c->MinParams) { c->OnSyntaxError(source, !params.empty() ? params[params.size() - 1] : ""); - source.DoReply(); return; } @@ -271,7 +267,6 @@ void BotInfo::OnMessage(User *u, const Anope::string &message) { u->SendMessage(this, ACCESS_DENIED); Log(LOG_COMMAND, "denied", this) << "Access denied for user " << u->GetMask() << " with command " << c->name; - source.DoReply(); return; } @@ -280,8 +275,6 @@ void BotInfo::OnMessage(User *u, const Anope::string &message) if (user_reference) { FOREACH_MOD(I_OnPostCommand, OnPostCommand(source, c, params)); - if (user_reference) - source.DoReply(); } } |