Project

General

Profile

« Previous | Next » 

Revision ed931f4d

Added by Marc Dequènes over 14 years ago

  • ID ed931f4d3380cd740ca3282227b8b27503558976

[evol] debug: new flag to ignore replays

View differences:

lib/cyborghood/mail.rb
def process
if is_marked?
return MailReport.new(:error => _("Replay detected."))
if not (@config.debug.nil? or @config.debug.flags.nil?) and @config.debug.flags.include?(:debug_ignorereplay)
logger.warn "Debug: ignoring replay"
else
return MailReport.new(:error => _("Replay detected."))
end
end
return process_signed() if is_pgp_signed?

Also available in: Unified diff