mirror of https://github.com/dani/vroom.git
Remove trailing cr in modified room message
This commit is contained in:
parent
ed2601866c
commit
3a066728ba
3
vroom.pl
3
vroom.pl
|
@ -460,6 +460,7 @@ helper modify_room => sub {
|
|||
}
|
||||
}
|
||||
if ($mods ne ''){
|
||||
chomp($mods);
|
||||
$msg .= "\nModified fields:\n$mods";
|
||||
$self->log_event({
|
||||
event => 'room_modify',
|
||||
|
@ -1211,7 +1212,7 @@ helper export_events_xlsx => sub {
|
|||
$sheet->write($row, 0, \@details);
|
||||
my $cr = scalar(split("\n", $events->{$e}->{message}));
|
||||
if ($cr > 1){
|
||||
$sheet->set_row($row, $cr*15);
|
||||
$sheet->set_row($row, $cr*12);
|
||||
}
|
||||
$row++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue