Remove trailing cr in modified room message

master
Daniel Berteaud 9 years ago
parent ed2601866c
commit 3a066728ba
  1. 3
      vroom.pl

@ -460,6 +460,7 @@ helper modify_room => sub {
} }
} }
if ($mods ne ''){ if ($mods ne ''){
chomp($mods);
$msg .= "\nModified fields:\n$mods"; $msg .= "\nModified fields:\n$mods";
$self->log_event({ $self->log_event({
event => 'room_modify', event => 'room_modify',
@ -1211,7 +1212,7 @@ helper export_events_xlsx => sub {
$sheet->write($row, 0, \@details); $sheet->write($row, 0, \@details);
my $cr = scalar(split("\n", $events->{$e}->{message})); my $cr = scalar(split("\n", $events->{$e}->{message}));
if ($cr > 1){ if ($cr > 1){
$sheet->set_row($row, $cr*15); $sheet->set_row($row, $cr*12);
} }
$row++; $row++;
} }

Loading…
Cancel
Save