Update config.lua

This commit is contained in:
Pickle
2022-12-03 14:02:51 -05:00
committed by GitHub
parent fa8cb06f42
commit 136c939701

View File

@@ -27,11 +27,13 @@ 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.
if value.url then
for i=1, #Config.BannedWords do for i=1, #Config.BannedWords do
if string.find(value.url, Config.BannedWords) then if string.find(value.url, Config.BannedWords[i]) then
return return
end end
end end
end
cb() cb()
end, end,
Broadcast = function(source, data, cb) -- cb() to approve. Broadcast = function(source, data, cb) -- cb() to approve.