mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-23 10:38:05 +11:00
make sure config is saved after setting routes
This commit is contained in:
parent
6cbe2d6479
commit
134257426d
@ -268,7 +268,9 @@ end
|
|||||||
|
|
||||||
function set_route(to,laddr,raddr)
|
function set_route(to,laddr,raddr)
|
||||||
cfg.sroutes[to] = {laddr,raddr,0}
|
cfg.sroutes[to] = {laddr,raddr,0}
|
||||||
|
saveconfig()
|
||||||
end
|
end
|
||||||
function del_route(to)
|
function del_route(to)
|
||||||
cfg.sroutes[to] = nil
|
cfg.sroutes[to] = nil
|
||||||
|
saveconfig()
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user