diff options
-rw-r--r-- | data/rbot/plugins/grouphug.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/grouphug.rb b/data/rbot/plugins/grouphug.rb index bf246b4c..55e9a345 100644 --- a/data/rbot/plugins/grouphug.rb +++ b/data/rbot/plugins/grouphug.rb @@ -23,7 +23,7 @@ class GrouphugPlugin < Plugin begin data = @bot.httputil.get("http://grouphug.us/#{path}", opts) - reg = Regexp.new('(<td class="conf-text")(.*?)(<p>)(.*?)(</p>)', + reg = Regexp.new('(<div class="content")(.*?)(<p>)(.*?)(</p>)', Regexp::MULTILINE) confession = reg.match( data )[4].ircify_html confession = "no confession ##{params[:num]} found" if confession.empty? and params[:num] |