Allow more text after clients={} in status.

This commit is contained in:
Aaron Suen 2020-01-18 00:43:37 -05:00
parent ebbe911d4d
commit 6c9150fff3

View File

@ -88,7 +88,7 @@ end
chathook()
local function stripstatus(msg, ...)
local pref, clients, suff = string_match(msg, "^(.*)clients={(.*)}(.*)$")
local pref, clients, suff = string_match(msg, "^(.*)clients={([^}]*)}(.*)$")
if not clients then return msg, ... end
local clist = {}
for pname in string_gmatch(clients, "%S+") do