From 9157750d04dfb2863bc5822b908336e663b141b1 Mon Sep 17 00:00:00 2001 From: olive Date: Thu, 17 Sep 2026 20:29:09 +0100 Subject: Use shortname config rather than hard-coding [x] and so on. Pylons may also make their own choce in how they format the short-name when sending out (or do it differently altogether), rather than it being baked-in by the receiving pylon. --- pylon.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'pylon.lua') diff --git a/pylon.lua b/pylon.lua index 69a611a..9d4a02d 100644 --- a/pylon.lua +++ b/pylon.lua @@ -13,6 +13,7 @@ function BasePylon.make(cls, wilson, conf) self.wilson = wilson self.inbox = Queue() self.log = Log(self.name,self.loglevel) + self:_check_fields"shortname" self:init() return self end function BasePylon._check_fields(self, fields) for k in qw.i(fields) do -- cgit v1.2.3