From 141f4e1c0a85912cd31eda8398f1fda6947b9a3a Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 17 Aug 2018 21:31:54 -0700 Subject: [PATCH] ircd::ctx: Move this branch condition. --- ircd/ctx.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ircd/ctx.cc b/ircd/ctx.cc index 12f5219d8..9c492a81e 100644 --- a/ircd/ctx.cc +++ b/ircd/ctx.cc @@ -325,12 +325,12 @@ ircd::ctx::terminate(ctx &ctx) void ircd::ctx::interrupt(ctx &ctx) { - if(finished(ctx)) - return; - if(unlikely(ircd::runlevel == runlevel::QUIT)) return terminate(ctx); + if(finished(ctx)) + return; + if(interruption(ctx)) return;