diff options
author | Adam <Adam@anope.org> | 2011-04-29 18:03:04 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-04-29 18:03:04 -0400 |
commit | 036b3c9053d663b0714690db33161e2df9e76782 (patch) | |
tree | 867e85a3241b3618911e8dd7e1d8fc5b1bd0c150 /modules/extra/m_async_commands.cpp | |
parent | 7da33344d10f4323d9811c68398fe8bb836979b1 (diff) |
Temporary fix for /os restart with m_async_commands loaded, is fixed properly in 1.9.5
Diffstat (limited to 'modules/extra/m_async_commands.cpp')
-rw-r--r-- | modules/extra/m_async_commands.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/extra/m_async_commands.cpp b/modules/extra/m_async_commands.cpp index b2c552351..a7153b25f 100644 --- a/modules/extra/m_async_commands.cpp +++ b/modules/extra/m_async_commands.cpp @@ -150,6 +150,8 @@ class ModuleAsynchCommands : public Module, public Pipe, public AsynchCommandsSe } else if (current_command) return EVENT_CONTINUE; + else if (command->name == "RESTART") + return EVENT_CONTINUE; CommandSource source_copy = source; AsynchCommandMutex *cm = new AsynchCommandMutex(source_copy, command, params); |