From 3c95a88bf7b3a919b215ca7642df10a7bab4ccbe Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 24 Mar 2021 20:01:15 -0700 Subject: [PATCH] ircd::cl: Allow zero dimension to ignore exec item. --- ircd/cl.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ircd/cl.cc b/ircd/cl.cc index 7d96dc582..46e5c8cac 100644 --- a/ircd/cl.cc +++ b/ircd/cl.cc @@ -342,6 +342,9 @@ try for(size_t i(0); i < work.global.size(); ++i) dim += work.global[i] > 0; + if(!dim) + return; + auto &q { queue[0][0]