1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-26 03:48:06 +11:00

Compare commits

..

No commits in common. "ef7e2366b318d7c7e7094dc5a097f390a7020be7" and "012b32a4a9bdac92f8e218b7afbffa9f11150807" have entirely different histories.

2 changed files with 1 additions and 21 deletions

View File

@ -66,6 +66,7 @@ function rpc.register(name,fn)
if port == rpc.port then if port == rpc.port then
local rpcrq = serial.unserialize(data) local rpcrq = serial.unserialize(data)
if rpcf[rpcrq[1]] and isPermitted(from,rpcrq[1]) then if rpcf[rpcrq[1]] and isPermitted(from,rpcrq[1]) then
local rt = {pcall(rpcf[rpcrq[1]],table.unpack(rpcrq))}
minitel.send(from,port,serial.serialize({rpcrq[2],pcall(rpcf[rpcrq[1]],table.unpack(rpcrq,3))})) minitel.send(from,port,serial.serialize({rpcrq[2],pcall(rpcf[rpcrq[1]],table.unpack(rpcrq,3))}))
elseif type(rpcrq[2]) == "string" then elseif type(rpcrq[2]) == "string" then
minitel.send(from,port,serial.serialize({rpcrq[2],false,"function unavailable"})) minitel.send(from,port,serial.serialize({rpcrq[2],false,"function unavailable"}))

View File

@ -296,25 +296,4 @@
authors = "Izaya", authors = "Izaya",
repo = "tree/master/" repo = "tree/master/"
}, },
["rica"] = {
files = {},
dependencies = {
["https://git.shadowkat.net/izaya/PsychOSPackages/raw/branch/master/rica/service/rica.lua"] = "//etc/rc.d",
["vcomponent"] = "",
},
name = "rica",
description = "Remote Internet Card Access (rica) client",
authors = "Izaya",
repo = "tree/master/"
},
["ricad"] = {
files = {},
dependencies = {
["https://git.shadowkat.net/izaya/PsychOSPackages/raw/branch/master/ricad/service/ricad.lua"] = "//etc/rc.d",
},
name = "ricad",
description = "Remote Internet Card Access (rica) server",
authors = "Izaya",
repo = "tree/master/"
},
} }