Revision ed931f4d
Added by Marc Dequènes over 14 years ago
- ID ed931f4d3380cd740ca3282227b8b27503558976
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
[evol] debug: new flag to ignore replays