Skip to content

Commit

Permalink
Update init.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
zmv7 authored Sep 13, 2022
1 parent 14249da commit 485d4a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ core.register_chatcommand("vanished",{
privs = {vanish=true},
func = function(name,param)
local msg = "Vanished: "
local table = list:to_table().fields
for nick,val in pairs(table) do
local tabl = list:to_table().fields
for nick,val in pairs(tabl) do
msg = msg..nick..", "
end
return true, msg
return true, msg:sub(1,-3)
end})

0 comments on commit 485d4a9

Please sign in to comment.