0
0
Fork 0
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:
Jason Volk 2019-04-24 00:46:06 -07:00
parent c7dadc513b
commit a6a8fa7d1b

View file

@ -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();