summaryrefslogtreecommitdiff
path: root/modules/extra/m_async_commands.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-03-04 20:47:58 -0500
committerAdam <Adam@anope.org>2011-03-04 20:47:58 -0500
commit90e5d0feaa1646c28cfce45dbde1a914a6f1d62c (patch)
treee81cf931c36401b418933aec264c7a260aa5a98a /modules/extra/m_async_commands.cpp
parentd79e22bfaa089e32520d63f633ee499a36905366 (diff)
Added LDAP support
Diffstat (limited to 'modules/extra/m_async_commands.cpp')
-rw-r--r--modules/extra/m_async_commands.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/extra/m_async_commands.cpp b/modules/extra/m_async_commands.cpp
index d4bbaaf6d..e7aa37ff0 100644
--- a/modules/extra/m_async_commands.cpp
+++ b/modules/extra/m_async_commands.cpp
@@ -41,7 +41,10 @@ class AsynchCommandMutex : public CommandMutex
EventReturn MOD_RESULT;
FOREACH_RESULT(I_OnPreCommand, OnPreCommand(source, command, params));
if (MOD_RESULT == EVENT_STOP)
+ {
+ source.DoReply();
return;
+ }
if (!command->permission.empty() && !u->Account()->HasCommand(command->permission))
{