small fixes

This commit is contained in:
kremsy 2017-05-13 15:15:37 +02:00
parent f9b73816c3
commit 07898d47f7

View File

@ -1098,6 +1098,11 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
private function setRecordReplays(RecordData &$record) {
// Set validation replay
try{
//TODO verify why it can be that login is not set
if(!$record->login){
return;
}
$validationReplay = $this->maniaControl->getServer()->getValidationReplay($record->login);
if ($validationReplay) {
$record->vReplay = $validationReplay;