swshop accepts uppercase names for items #11

This commit is contained in:
kepler155c@gmail.com
2019-07-11 10:33:54 -06:00
parent dc6e6c546b
commit a421c78a0c
2 changed files with 2 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ local function transfer(node)
local target = context.storage.nodes[node.target]
if not target or not target.adapter or not target.adapter.online then
error(string.format('TRANSFER: target %s is not online', node.target))
error(string.format('TRANSFER: target %s is not online', node.name))
end
if target.mtype == 'storage' then