summaryrefslogtreecommitdiff
path: root/pylon.lua
diff options
context:
space:
mode:
authorolive <olive@olive.ooo>2026-09-17 20:29:09 +0100
committerolive <olive@olive.ooo>2026-09-17 20:29:09 +0100
commit9157750d04dfb2863bc5822b908336e663b141b1 (patch)
tree3ec8ac81aef2ea1e67db38d6c2b013ee8dddab33 /pylon.lua
parent87ed4adab569504e4ce053f8288a84404f63c8dc (diff)
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.
Diffstat (limited to 'pylon.lua')
-rw-r--r--pylon.lua1
1 files changed, 1 insertions, 0 deletions
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