From e327a8c418759208a6cd0cab974737af6d1897eb Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 12 Oct 2010 17:05:21 +0200 Subject: youtube: fix detection of video pages --- data/rbot/plugins/youtube.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') diff --git a/data/rbot/plugins/youtube.rb b/data/rbot/plugins/youtube.rb index 49d33726..01f494d1 100644 --- a/data/rbot/plugins/youtube.rb +++ b/data/rbot/plugins/youtube.rb @@ -27,7 +27,7 @@ class YouTubePlugin < Plugin def youtube_filter(s) loc = Utils.check_location(s, /youtube\.com/) return nil unless loc - if s[:text].include? '