Software /
code /
prosody
File
teal-src/util/format.d.tl @ 11711:6fbbfa4a1178
MUC: Skip adding to history when it's set to zero
Optimizes away all the processing on every message in case the
end-result is zero history.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 19 Jul 2021 17:07:59 +0200 |
parent | 11432:113f3912c7cb |
line wrap: on
line source
local record lib format : function (string, ... : any) : string end return lib