From a6a8fa7d1b95446df3fd9cbf08af40f7446aa6ad Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 24 Apr 2019 00:46:06 -0700 Subject: [PATCH] ircd: Only post runlevel callback when on ctx. --- ircd/ircd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/ircd.cc b/ircd/ircd.cc index d342aa0ad..8fb13c775 100644 --- a/ircd/ircd.cc +++ b/ircd/ircd.cc @@ -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();