summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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