View difference between Paste ID: fZLTfdpF and aCm2vJp3
SHOW: | | - or go back to the newest paste.
1
local cache = {}
2
3
function GAMEMODE:RetrieveInfo(url, callback)
4
	url = url:lower()
5
6
	if cache[url] then
7
		return cache[url]
8
	end
9
10
	http.Get(url, "", function(info)
11
		cache[url] = info
12
		callback(info)
13
	end)
14
emd