]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/urban.rb
[urban] forgot debugs
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / urban.rb
index 6d01c625d0dd3515f9e42876a2ebe8e07fde05b9..70d451af7788d5848dbfca074367a0e350859d61 100644 (file)
@@ -22,8 +22,6 @@ class UrbanPlugin < Plugin
     notfound = s.match %r{<i>.*?</i> isn't defined}
 
     numpages = if s[%r{<ul class="pagination[^"]+">.*?</ul>}m]
-      debug 'foo->'
-      debug $&
       $&.scan(/>(\d+)</).collect {|x| x[0].to_i}.max || 1
     else 1 end