summaryrefslogtreecommitdiff
path: root/nanochat
diff options
context:
space:
mode:
authorrebecca <ubq323@ubq323.website>2026-09-17 22:12:34 +0100
committerrebecca <ubq323@ubq323.website>2026-09-17 22:12:34 +0100
commit0af1910b37b72b67b94cbc84222fcb62b7c6062a (patch)
treea4df33a12778f20811d2a04ffdfd2fa2aa8ef2d3 /nanochat
parent72c24073b8603459fc9b62386a62a54f1c9e7296 (diff)
luacheck ignore empty if branch
Diffstat (limited to 'nanochat')
-rw-r--r--nanochat/pylon.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/nanochat/pylon.lua b/nanochat/pylon.lua
index 6546f05..dfd8532 100644
--- a/nanochat/pylon.lua
+++ b/nanochat/pylon.lua
@@ -34,8 +34,8 @@ function Nanochat:recving()
else
deliverables[i] = { source_channel=Channel(self, chan), sender="", body=msg:sub(msgi,-1) }
end
- else
- -- ignore messages without a channel, they stay nanochat-local
+ else -- luacheck: ignore 542
+ -- ignore messages without a channel, they stay nanochat-local
end
end
local s = self.sock:read("*l")