Project

General

Profile

« Previous | Next » 

Revision b21668b8

Added by Marc Dequènes over 15 years ago

  • ID b21668b88833953d7e47526cf9bedcefc3ecb2d4

[fix] correct silly mistake

View differences:

lib/cyborghood/mail_order.rb
signature_pos = command_lines.index("-- ")
command_lines.slice!(signature_pos..-1) if signature_pos
super(user, command_lines, shared_parameters) do
super(user, command_lines, shared_parameters) do |word, errors, used_refs|
if word =~ /^@([a-zA-Z0-9._-]+)$/
ref = $1
d_ref, d_param = dereference_param(shared_parameters, param)

Also available in: Unified diff