summaryrefslogtreecommitdiff
path: root/irc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'irc.lua')
-rw-r--r--irc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/irc.lua b/irc.lua
index fe35753..a2fb7bf 100644
--- a/irc.lua
+++ b/irc.lua
@@ -3,6 +3,7 @@ local socket = require'cqueues.socket'
local pprint = require'pprint'
local rirc = require'rirc'
local Queue = require'queue'
+local Channel = require'channel'
local Irc = {}
@@ -89,7 +90,7 @@ function Irc.sending(self)
end
function Irc.post(self, dest_channel, message)
- self.inbox.enqueue(dest_channel, message)
+ self.inbox:enqueue(dest_channel, message)
end
return Irc