diff options
| author | rebecca <ubq323@ubq323.website> | 2026-09-13 16:25:56 +0100 |
|---|---|---|
| committer | rebecca <ubq323@ubq323.website> | 2026-09-13 16:25:56 +0100 |
| commit | c9b43b5bb9d85f68edded36428fb14f05debf190 (patch) | |
| tree | 5c0c296c6b56fa66ceb874366e8b25e10e23baed /queue.lua | |
| parent | 57b7cec33e32f02fe67de91aec66662b6ae5c6ab (diff) | |
use log more pervasively, changes to discord and xmpp:
discord: fix some logic errors, correctly ignore messages in channels
that we don't care about
xmpp: reformat some of the recving logic, but it's still borken somehow,
but olive says she wants to fix it not me
Diffstat (limited to 'queue.lua')
| -rw-r--r-- | queue.lua | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -13,7 +13,6 @@ function Queue.make(cls) function Queue.enqueue(self, ...) local item = table.pack(...) - print('q',...) table.insert(self.items, item) if #self.items > 128 then print('warning: queue is quite big') @@ -29,7 +28,6 @@ function Queue.iter(self) self.items = {} -- the old switcheroo for _, item in ipairs(items) do (function(...) - print('p',...) coroutine.yield(...) end)(table.unpack(item, 1, item.n)) end |
