summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-23 14:12:14 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-23 14:12:14 +0000
commit88e0576dfa38586fb27dd52d29225b6de0af029a (patch)
tree7ab852c0abe9b8ce6f3d441eb4c989b585f1e2f0 /lib/rbot
parent519d8144025dc734c11aac05a8b5e61c488dfb8a (diff)
Fix a warning introduced with [245]
Diffstat (limited to 'lib/rbot')
-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