blob: dbf09417a467bc40e9feae9caccf4cb3d276cee6 (
plain)
1
2
3
4
5
6
7
8
|
F.has_rc = function(query,rc_list) -- query = string, single entry
for word in rc_list:gmatch("[^%s]+") do
if word == query then return true end
end
return false
end
F.get_rc_safe = function() return get_rc() or "" end
|