summaryrefslogtreecommitdiff
path: root/src/bots.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-09-03 00:17:01 -0400
committerAdam <Adam@anope.org>2011-09-10 02:05:56 -0400
commit19e0b87aa1f41c3aabf6afc87ecdc8517dd47af0 (patch)
treee81fc3d3b0b1ed04a2762bd3156094d4196e304d /src/bots.cpp
parent17ea4ed8f5c4b08668223897c6de87dd3bdd598c (diff)
Removed /bs set msg
Diffstat (limited to 'src/bots.cpp')
-rw-r--r--src/bots.cpp7
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();
}
}