]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/messagemapper.rb
Too much stuff was being sent with each line, go back to 400 bytes max
[user/henk/code/ruby/rbot.git] / lib / rbot / messagemapper.rb
index 5e1e01a8cd7e9c31bea1d850a25e3d2668c47e5f..ec465e812ed86f77fef494045a6ea9756a114723 100644 (file)
@@ -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(', ')}"