Only log room_modify event if some param was changed

master
Daniel Berteaud 10 years ago
parent 211800e6dc
commit 2308580ac4
  1. 8
      vroom.pl

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

Loading…
Cancel
Save