mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 14:31:11 +01:00
ircd::run: Notify the changed::dock inside call_users.
This commit is contained in:
parent
af1d6e20cd
commit
7cc029d726
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,6 @@ try
|
|||
};
|
||||
|
||||
_level = new_level;
|
||||
changed::dock.notify_all();
|
||||
|
||||
// This latch is used to block this call when setting the level
|
||||
// from an ircd::ctx. If the level is set from the main stack then
|
||||
|
@ -463,6 +462,7 @@ try
|
|||
else
|
||||
log::flush();
|
||||
|
||||
changed::dock.notify_all();
|
||||
for(const auto &handler : changed::list) try
|
||||
{
|
||||
(*handler)(new_level);
|
||||
|
|
Loading…
Reference in a new issue