summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-31 22:25:14 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-31 22:25:14 +0000
commit05a5ad122a4fc5a9bf5f23ea34e7afa655f619e0 (patch)
tree1f4d85b37537fb1971ed6d8edc2b45a38a75e7ae
parentd9407a6d5a29d95afa179fae4b33dbee861ca6b4 (diff)
messagemapper fix ... watch what you name your variables!
-rw-r--r--lib/rbot/messagemapper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/messagemapper.rb b/lib/rbot/messagemapper.rb
index 5e1e01a8..ec465e81 100644
--- a/lib/rbot/messagemapper.rb
+++ b/lib/rbot/messagemapper.rb
@@ -305,7 +305,7 @@ module Irc
return nil, "#{m.message.inspect} doesn't match #{@dyn_items.first.inspect} (#{@regexp})" unless matching
return nil, "#{m.message.inspect} only matches #{@dyn_items.first.inspect} (#{@regexp}) partially" unless matching[0] == m.message
- debug_match = matching[1..-1].collect{ |m| m.inspect}.join(', ')
+ debug_match = matching[1..-1].collect{ |d| d.inspect}.join(', ')
debug "#{m.message.inspect} matched #{@regexp} with #{debug_match}"
debug "Associating #{debug_match} with dyn items #{@dyn_items[1..-1].join(', ')}"