]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/message.rb
Add get_cached method to httputil. No need to download the same page over and over...
[user/henk/code/ruby/rbot.git] / lib / rbot / message.rb
index fcbdbc56c311ea584b8d3e290706a0e3c3031be1..385f6c4cc8485fce0635e143c9a6f9d1014f9da7 100644 (file)
@@ -39,6 +39,8 @@ module Irc
     # target::   nick/channel message is destined for
     # message::  message part
     def initialize(bot, source, target, message)
+      @msg_wants_id = false unless defined? @msg_wants_id
+
       @time = Time.now
       @bot = bot
       @source = source