mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-25 19:38:07 +11:00
Compare commits
No commits in common. "ef7e2366b318d7c7e7094dc5a097f390a7020be7" and "012b32a4a9bdac92f8e218b7afbffa9f11150807" have entirely different histories.
ef7e2366b3
...
012b32a4a9
@ -66,6 +66,7 @@ function rpc.register(name,fn)
|
||||
if port == rpc.port then
|
||||
local rpcrq = serial.unserialize(data)
|
||||
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))}))
|
||||
elseif type(rpcrq[2]) == "string" then
|
||||
minitel.send(from,port,serial.serialize({rpcrq[2],false,"function unavailable"}))
|
||||
|
21
programs.cfg
21
programs.cfg
@ -296,25 +296,4 @@
|
||||
authors = "Izaya",
|
||||
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/"
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user