From 41e6b1b4067994d98df1b8bcc1fb398569375322 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Fri, 5 Aug 2005 23:09:41 +0000 Subject: that syntax confuses rdoc --- lib/rbot/rfc2812.rb | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/lib/rbot/rfc2812.rb b/lib/rbot/rfc2812.rb index c785599c..e7e527b9 100644 --- a/lib/rbot/rfc2812.rb +++ b/lib/rbot/rfc2812.rb @@ -826,31 +826,31 @@ module Irc # # ==server events currently supported: # - # :created:: when the server was started - # :yourhost:: your host details (on connection) - # :ping:: server pings you (default handler returns a pong) - # :nicktaken:: you tried to change nick to one that's in use - # :badnick:: you tried to change nick to one that's invalid - # :topic:: someone changed the topic of a channel - # :topicinfo:: on joining a channel or asking for the topic, tells you - # who set it and when - # :names:: server sends list of channel members when you join - # :welcome:: server welcome message on connect - # :motd:: server message of the day - # :privmsg:: privmsg, the core of IRC, a message to you from someone - # :public:: optionally instead of getting privmsg you can hook to only - # the public ones... - # :msg:: or only the private ones, or both - # :kick:: someone got kicked from a channel - # :part:: someone left a channel - # :quit:: someone quit IRC - # :join:: someone joined a channel - # :changetopic:: the topic of a channel changed - # :invite:: you are invited to a channel - # :nick:: someone changed their nick - # :mode:: a mode change - # :notice:: someone sends you a notice - # :unknown:: any other message not handled by the above + # created:: when the server was started + # yourhost:: your host details (on connection) + # ping:: server pings you (default handler returns a pong) + # nicktaken:: you tried to change nick to one that's in use + # badnick:: you tried to change nick to one that's invalid + # topic:: someone changed the topic of a channel + # topicinfo:: on joining a channel or asking for the topic, tells you + # who set it and when + # names:: server sends list of channel members when you join + # welcome:: server welcome message on connect + # motd:: server message of the day + # privmsg:: privmsg, the core of IRC, a message to you from someone + # public:: optionally instead of getting privmsg you can hook to only + # the public ones... + # msg:: or only the private ones, or both + # kick:: someone got kicked from a channel + # part:: someone left a channel + # quit:: someone quit IRC + # join:: someone joined a channel + # changetopic:: the topic of a channel changed + # invite:: you are invited to a channel + # nick:: someone changed their nick + # mode:: a mode change + # notice:: someone sends you a notice + # unknown:: any other message not handled by the above def []=(key, value) @handlers[key] = value end -- cgit v1.2.3