summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-15 00:41:30 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-15 00:41:30 +0100
commit0e95723ec2423b159eb1a1fe8cdb5ac1be84830a (patch)
tree06a47a9ed834b6a148dd970d5296debd1d6bbd71 /data/rbot/plugins
parent82e5e233ddb878a22a056439dc2f5b40ddf7312e (diff)
rss plugin: CHECK if feed type is trac, '''don't''' ASSIGN trac type to all feeds
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/rss.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index f8d8c997..a07a7c37 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -868,7 +868,7 @@ class RSSFeedsPlugin < Plugin
# git changesets are SHA1 hashes (40 hex digits), way too long, get rid of them, as they are
# visible in the URL anyway
# TODO make this optional?
- base_title.sub!(/^Changeset \[([\da-f]{40})\]:/) { |c| "(git commit)"} if feed.type = 'trac'
+ base_title.sub!(/^Changeset \[([\da-f]{40})\]:/) { |c| "(git commit)"} if feed.type == 'trac'
title = "#{Bold}#{base_title.ircify_html(tit_opt)}#{Bold}"
end