mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 15:30:52 +01:00
ircd: Only post runlevel callback when on ctx.
This commit is contained in:
parent
c7dadc513b
commit
a6a8fa7d1b
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ try
|
|||
"ircd::run::set"
|
||||
};
|
||||
|
||||
if(changed::list.size())
|
||||
if(changed::list.size() && ctx::current)
|
||||
ircd::post(descriptor, call_users);
|
||||
else
|
||||
call_users();
|
||||
|
|
Loading…
Reference in a new issue