summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/grouphug.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/grouphug.rb')
-rw-r--r--data/rbot/plugins/grouphug.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/grouphug.rb b/data/rbot/plugins/grouphug.rb
index aa3bf6d7..53fc7f0a 100644
--- a/data/rbot/plugins/grouphug.rb
+++ b/data/rbot/plugins/grouphug.rb
@@ -14,7 +14,7 @@ class GrouphugPlugin < Plugin
path = "/random"
path = "/confessions/#{m.params()}" if m.params()
begin
- data = bot.httputil.get(URI.parse("http://grouphug.us/#{path}"))
+ data = bot.httputil.get_cached(URI.parse("http://grouphug.us/#{path}"))
reg = Regexp.new( '(<td class="conf-text")(.*?)(<p>)(.*?)(</p>)', Regexp::MULTILINE )
confession = reg.match( data )[4]