Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed swineflu command issue

  • Loading branch information...
commit ba80d5016c6a64199095b6fadf764383fdc5ad51 1 parent 53b84b1
samlehman authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  fatbot.rb
View
1  fatbot.rb
@@ -123,6 +123,7 @@ def ops?(nick)
page = WWW::Mechanize.new.get(url)
totals = (page/'.mSyndicate strong').map { |i| i.content }[1..4]
timedate = (page/'.mSyndicate span').map { |i| i.content }[2]
+ totals[1].gsub!(/\t/,'')
raise "no totals" if totals.size < 3
if timedate =~ /\(As of (.+)\)/
Please sign in to comment.
Something went wrong with that request. Please try again.