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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user