| Class | Irc::NickMessage |
| In: |
lib/rbot/message.rb
|
| Parent: | BasicUserMessage |
class to pass IRC Nick changes in. @message contains the old nickame, @sourcenick contains the new one.
| is_on | [RW] |
# File lib/rbot/message.rb, line 564
564: def initialize(bot, server, source, oldnick, newnick)
565: super(bot, server, source, oldnick, newnick)
566: @address = (source == @bot.myself)
567: @is_on = []
568: end
# File lib/rbot/message.rb, line 578
578: def inspect
579: fields = ' old=' << oldnick
580: fields << ' new=' << newnick
581: super(fields)
582: end