about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/keyword_mute.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/keyword_mute.rb b/app/models/keyword_mute.rb
index d80fcaa60..e1a8c3712 100644
--- a/app/models/keyword_mute.rb
+++ b/app/models/keyword_mute.rb
@@ -38,7 +38,7 @@ class KeywordMute < ApplicationRecord
     end
 
     def =~(str)
-      @regex ? @regex =~ str : false
+      regex ? regex =~ str : false
     end
   end
 end