diff --git a/ircd/net.cc b/ircd/net.cc index 8ce7cdbce..5b63a1a17 100644 --- a/ircd/net.cc +++ b/ircd/net.cc @@ -2770,7 +2770,7 @@ noexcept try if(unlikely(--instances == 0)) net::dock.notify_all(); - if(unlikely(RB_DEBUG_LEVEL && opened(*this))) + if((RB_DEBUG_LEVEL) && unlikely(opened(*this))) throw panic { "Failed to ensure socket(%p) is disconnected from %s before dtor.",