1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 23:03:14 +02:00

Temporary fix for /os restart with m_async_commands loaded, is fixed properly in 1.9.5

This commit is contained in:
Adam
2011-04-29 18:03:04 -04:00
parent 7da33344d1
commit 036b3c9053
3 changed files with 5 additions and 3 deletions
+2
View File
@@ -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);