Only log room_modify event if some param was changed

master
Daniel Berteaud 9 years ago
parent 211800e6dc
commit 2308580ac4
  1. 2
      vroom.pl

@ -453,11 +453,11 @@ helper modify_room => sub {
} }
if ($mods ne ''){ if ($mods ne ''){
$msg .= "\nModified fields:\n$mods"; $msg .= "\nModified fields:\n$mods";
}
$self->log_event({ $self->log_event({
event => 'room_modify', event => 'room_modify',
msg => $msg msg => $msg
}); });
}
return 1; return 1;
}; };

Loading…
Cancel
Save