From 71cee0014368f5d83fe94989526a4ffb2824f50c Mon Sep 17 00:00:00 2001 From: rebecca Date: Thu, 24 Sep 2026 17:20:42 +0100 Subject: change fields on Message to include author --- thing.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'thing.lua') diff --git a/thing.lua b/thing.lua index f7cc32a..eee742b 100644 --- a/thing.lua +++ b/thing.lua @@ -19,4 +19,7 @@ function Thing.__tostring(self) .. ':' .. self.id .. (self.name == self.id and '('..self.name..')' or '') end +function Thing.name_with_shortname(self) + return self.name .. ' [' .. self.pylon.shortname .. ']' +end return Thing -- cgit v1.2.3