mirror of
https://github.com/Michatec/ptelevision.git
synced 2026-03-31 23:46:30 +02:00
Update config.lua
This commit is contained in:
@@ -27,9 +27,11 @@ Config.BannedWords = {
|
|||||||
|
|
||||||
Config.Events = { -- Events for approving broadcasts / interactions (due to popular demand).
|
Config.Events = { -- Events for approving broadcasts / interactions (due to popular demand).
|
||||||
ScreenInteract = function(source, data, key, value, cb) -- cb() to approve.
|
ScreenInteract = function(source, data, key, value, cb) -- cb() to approve.
|
||||||
for i=1, #Config.BannedWords do
|
if value.url then
|
||||||
if string.find(value.url, Config.BannedWords) then
|
for i=1, #Config.BannedWords do
|
||||||
return
|
if string.find(value.url, Config.BannedWords[i]) then
|
||||||
|
return
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
cb()
|
cb()
|
||||||
|
|||||||
Reference in New Issue
Block a user