diff options
author | ubq323 <ubq323@ubq323.website> | 2025-02-28 00:14:38 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2025-02-28 00:14:38 +0000 |
commit | 14def7091342bbb9869bfc5d8e6a57508fc90eea (patch) | |
tree | 9e3e9f127816f6ea26d429b535a3706b5b186d5f /pylon.lua | |
parent | fd8f25bf529f3256f8b5b48746c13111e16be47c (diff) |
Diffstat (limited to 'pylon.lua')
-rw-r--r-- | pylon.lua | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -13,11 +13,11 @@ function BasePylon.check_config(self, vars) end function BasePylon.run(self) - local cq = cqueues.new() + self.cq = cqueues.new() self:_connect() - cq:wrap(self.recving, self) - cq:wrap(self.sending, self) - print(self.pylon_type, cq:loop()) + self.cq:wrap(self.recving, self) + self.cq:wrap(self.sending, self) + print(self.pylon_type, self.cq:loop()) end function BasePylon.post(self, dest_channel, message) @@ -26,7 +26,7 @@ end function BasePylon.log(self, ...) if self.debug then - print(self.pylon_type, self.name, ...) + print(self.name, ...) end end |