1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-27 21:57:40 +00:00

api change for modems

This commit is contained in:
kepler155c@gmail.com
2019-04-18 11:13:28 -04:00
parent e6d1e58ce2
commit 54660c6089
3 changed files with 3 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ function Peripheral.addDevice(deviceList, side)
-- ptype = 'wireless_modem'
-- else
ptype = 'wired_modem'
if dev.getMetadata then
if dev.isAccessPoint then
-- avoid open computer relays being registered
-- as 'wired_modem'
ptype = dev.getMetadata().name or 'wired_modem'