From 1fa8f6405fa509c57ee7e668b914e816949ac85c Mon Sep 17 00:00:00 2001 From: Jakob Ovrum Date: Sat, 17 Jul 2010 11:54:59 +0900 Subject: [PATCH] Updated docs with topic stuff --- doc/irc.luadoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/irc.luadoc b/doc/irc.luadoc index 92883fe..040264a 100644 --- a/doc/irc.luadoc +++ b/doc/irc.luadoc @@ -62,6 +62,11 @@ function irc:think() -- @return Table with fields userinfo, node, channels and account. function irc:whois(nick) +--- Look up topic. +-- Use this to invoke the hooks OnTopic and OnTopicInfo at any time. +-- @param channel Channel to query. +function irc:topic(channel) + --- Send a raw line of IRC to the server. -- @param fmt Line to be sent, excluding newline characters. -- @param ... Format parameters for fmt, with string.format semantics. @@ -113,6 +118,8 @@ function irc:shutdown() --
  • OnQuit(user, message)
  • --
  • NickChange(user, newnick, channel)*†
  • --
  • NameList(channel, names)
  • +--
  • OnTopic(channel, topic)
  • +--
  • OnTopicInfo(channel, creator, timeCreated)
  • -- -- * Event also invoked for yourself. -- † Channel passed only when user tracking is enabled