Allow more text after clients={} in status.
This commit is contained in:
parent
ebbe911d4d
commit
6c9150fff3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user