From 6c0c869e08dd790cd8ffea15514e73d62aadb1ec Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 8 Mar 2009 20:38:47 +0100 Subject: [PATCH] youtube: fix video page detection in htmlfilter --- data/rbot/plugins/youtube.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/rbot/plugins/youtube.rb b/data/rbot/plugins/youtube.rb index 40922b7d..6d3248d9 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? '
' + if s[:text].include? '