Advertisement
random1754

Fix syn.request error

Jan 11th, 2025
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | Source Code | 0 0
  1. if not clonefunction then
  2.     getgenv().clonefunction = function(func)
  3.         return function(...)
  4.             return func(...)
  5.         end
  6.     end
  7. end
  8.  
  9. if not request then return nil end
  10.  
  11. if not syn then
  12.     getgenv().syn = {}
  13. end
  14.  
  15. if syn.request then return nil end
  16.  
  17. if not syn.request then
  18.     syn.request = clonefunction(request)
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement