Add in-channel commands

This commit is contained in:
ShadowNinja
2013-12-02 18:15:29 -05:00
parent c3ddf1df70
commit d81f80155f
4 changed files with 72 additions and 46 deletions

View File

@ -134,6 +134,13 @@ function mt_irc:say(to, message)
end
function mt_irc:reply(message)
if not self.last_from then
return
end
self:say(self.last_from, message)
end
function mt_irc:send(line)
self.conn:send(line)
end