diff options
author | 2021-02-13 09:39:39 -0600 | |
---|---|---|
committer | 2021-02-13 09:39:39 -0600 | |
commit | 5faba2b8134813f2bc233032963335772e6c3125 (patch) | |
tree | 7bd3320a17f77379252d361c9ded91fc041a0177 /plugins/discord/init.lua | |
parent | 2604f15c1085e08a7ffeb340e3d8eab3f01604ed (diff) |
plugins/discord: fix softlist longname
Diffstat (limited to 'plugins/discord/init.lua')
-rw-r--r-- | plugins/discord/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/discord/init.lua b/plugins/discord/init.lua index 83ac15d18b0..f95030f1c46 100644 --- a/plugins/discord/init.lua +++ b/plugins/discord/init.lua @@ -52,8 +52,8 @@ function discord.startplugin() local details = running and manager.machine.system.description or nil if emu.softname() ~= "" then for name, dev in pairs(manager.machine.images) do - if dev:longname() then - details = details .. " (" .. dev:longname() .. ")" + if dev.software_longname then + details = details .. " (" .. dev.software_longname .. ")" break end end |