Skip to content

Commit

Permalink
fix Notice#method_signature
Browse files Browse the repository at this point in the history
  • Loading branch information
darkleaf committed Aug 29, 2014
1 parent 5789a53 commit 81740b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/notice.rb
Expand Up @@ -45,8 +45,8 @@ def message_signature
m.gsub!(/\h{8}-\h{4}-\h{4}-\h{4}-\h{12}/, '%UUID%')
m.gsub!(/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/, '%IP%')
m.gsub!(/0x\h+/, '%HEX%')
m.gsub!(/\d+/, '%NUM%')
m.gsub!(/\h{7,}/, '%HEXSTR%')
m.gsub!(/\d+/, '%NUM%')
m.truncate(150)
end

Expand Down

0 comments on commit 81740b3

Please sign in to comment.