mirror of https://github.com/Calamitous/iris.git
Make corruption errors stand out more
This commit is contained in:
parent
e312a44db2
commit
ca1b68baf4
4
iris.rb
4
iris.rb
|
@ -406,8 +406,8 @@ class Message
|
|||
end
|
||||
|
||||
def to_display
|
||||
error_marker = valid? ? nil : '### THIS MESSAGE HAS THE FOLLOWING ERRORS ###'
|
||||
error_follower = valid? ? nil : '### THIS MESSAGE MAY BE CORRUPT OR MAY HAVE BEEN TAMPERED WITH ###'
|
||||
error_marker = valid? ? nil : '{r ### THIS MESSAGE HAS THE FOLLOWING ERRORS ###}'
|
||||
error_follower = valid? ? nil : '{r ### THIS MESSAGE MAY BE CORRUPT OR MAY HAVE BEEN TAMPERED WITH ###}'
|
||||
|
||||
message_header = "#{leader_text} On #{timestamp}, #{author} #{verb_text}..."
|
||||
|
||||
|
|
Loading…
Reference in New Issue