Permalink
Browse files

単語の方で上手く動いていなかった部分を修正

  • Loading branch information...
1 parent 25289fe commit 61a2ec531cacc0d02d724f5a55c14ff49ea8832d @cosmo0920 committed Jul 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 filter.rb
View
@@ -17,7 +17,7 @@
mute_words = (UserConfig[:filter_mute_word] || []).select{|m|!m.empty?}
if mute_words
msgs = msgs.select{ |m|
- not mute_words.any?{ |word|
+ not (UserConfig[:filter_mute_word] || []).any?{ |word|
m.to_s.include?(word)
}
}

0 comments on commit 61a2ec5

Please sign in to comment.