1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-02 05:21:39 +02:00

Only log room_modify event if some param was changed

This commit is contained in:
Daniel Berteaud 2015-07-14 11:40:56 +02:00
parent 211800e6dc
commit 2308580ac4

View File

@ -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;
};