Dokumentaci tohoto modulu lze vytvořit na stránce Nápověda:Modul:VoteRight
p = {}
Ignored = require ("Modul:VoteRight/ignore")
local function CheckIfIgnored (user)
for _, ignored in pairs (Ignored) do
if user == ignored then
return true
end
end
return false
end
function p.Notify(frame)
local Data = require ("Modul:VoteRight/data")
local Users = {}
local out = ""
for a in pairs (Data) do
if not CheckIfIgnored (Data) then
table.insert (Users, Data)
end
end
for n, user in pairs (Users) do
out = out .. "@]"
if n ~= #Users then
out = out .. ","
end
end
return out
end
return p