summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorrebecca <ubq323@ubq323.website>2026-09-24 16:42:28 +0100
committerrebecca <ubq323@ubq323.website>2026-09-24 18:20:25 +0100
commit3f54007ab621d2e6b652523259b1cb2d3d158e22 (patch)
tree101d01f242a14119a31f838be6a97a7d36847f5c /irc
parentc6bf8876a0949214ce3fc151b2dbb957e40523a3 (diff)
create Thing class for general tuples of (pylon,descriptor)
Diffstat (limited to 'irc')
-rw-r--r--irc/pylon.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/irc/pylon.lua b/irc/pylon.lua
index 11c8250..bed8261 100644
--- a/irc/pylon.lua
+++ b/irc/pylon.lua
@@ -2,7 +2,7 @@ local cqueues = require'cqueues'
local socket = require'cqueues.socket'
local class = require'r.class'
-local Channel = require'channel'
+local Thing = require'thing'
local BasePylon = require'pylon'
local rirc = require'irc.rirc'
@@ -35,7 +35,7 @@ function Irc.recving(self)
local body = msg.args[2]
local sender = msg.source
self.wilson:deliver({
- source_channel = Channel(self, channel_name),
+ source_channel = Thing(self, channel_name),
body = body,
sender = sender,
})