summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2015-03-24 01:30:35 +0100
committerRobert Gerus <arachnist@i.am-a.cat>2015-03-24 01:30:35 +0100
commitbfc4de568054e27345803ecc9641fd6eac947e2d (patch)
treebd09b683fcd6f4ff66e0729c6162a8ceeed43a11
parent6b0d4e41a51a32089f00d5ff4760651a5664cfd0 (diff)
downloadrepost-bfc4de568054e27345803ecc9641fd6eac947e2d.tar.gz
repost-bfc4de568054e27345803ecc9641fd6eac947e2d.tar.bz2
repost-bfc4de568054e27345803ecc9641fd6eac947e2d.tar.xz
repost-bfc4de568054e27345803ecc9641fd6eac947e2d.zip
002621 | @ q3k | ar: ^ if "Let me google that" in url.address then exit end
-rw-r--r--plugins/scrape.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/scrape.rb b/plugins/scrape.rb
index 0a2f92a..3ceb18f 100644
--- a/plugins/scrape.rb
+++ b/plugins/scrape.rb
@@ -55,7 +55,7 @@ Client.register_trigger("PRIVMSG") do |msg|
:nick => msg[:prefix].split('!').first
)
- titles << title if title.size > 0
+ titles << title if title.size > 0 and title !~ /Let me google that/
end
end