Commits

luastoned committed 74edb07

Replaced facepunch.request instances with facepunch.http.get, these calls will
be replaced with ICOs (immediate cache objects)

  • Participants
  • Parent commits 0208a30

Comments (0)

Files changed (1)

facepunch/thread.lua

 -- Output: integer, table of members
 -------------------------------------------------------------------------------
 function getMembersInPage( threadPageURL )
-	local threadPage, returnCode = facepunch.request( threadPageURL )
+	local threadPage, returnCode = facepunch.http.get( threadPageURL )
 	if ( returnCode == 200 ) then
 		local t = {}
 		local matched = false
 -- Output: table of posts
 -------------------------------------------------------------------------------
 function getPostsInPage( threadPageURL )
-	local threadPage, returnCode = facepunch.request( threadPageURL )
+	local threadPage, returnCode = facepunch.http.get( threadPageURL )
 	if ( returnCode == 200 ) then
 		local t = {}
 		for fullPost,