0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd:Ⓜ️:feds: Minor simplify.

This commit is contained in:
Jason Volk 2020-03-04 10:39:14 -08:00
parent df9b429344
commit 9789772307

View file

@ -137,8 +137,7 @@ ircd::m::feds::execute::execute(const vector_view<const opts> &optsv,
milliseconds timeout {0};
for(const auto &opts : optsv)
if(opts.timeout > timeout)
timeout = opts.timeout;
timeout = std::max(opts.timeout, timeout);
this->boolean::val = handler(list, timeout, closure);
}