summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/message.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbot/message.rb b/lib/rbot/message.rb
index fcbdbc56..385f6c4c 100644
--- a/lib/rbot/message.rb
+++ b/lib/rbot/message.rb
@@ -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