]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/grouphug.rb
plugins/keywords: add method that was missing from commit 7cac523563de6473d2f93fd2d05 ...
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / grouphug.rb
index bf246b4c7f7fa23b3911dbf4169b4c01d59071a5..55e9a34503b694976a34cf49c09c231a26d8fe80 100644 (file)
@@ -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]