Skip to content
This repository has been archived by the owner on Feb 20, 2020. It is now read-only.

Commit

Permalink
hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kiridaruma committed Nov 12, 2016
1 parent 5d787fc commit a9cb7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Onset/public_html/src/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static function searchLog(array $chatLog, $time){
$point = count($chatLog) - 1;
$flag = false;
for(;isset($chatLog[$point]) && $chatLog[$point]->time > $time; $point -= 1) $flag = true;
if($flag) return array_slice($chatLog, $point);
if($flag) return array_slice($chatLog, $point+1);
else return [];
}

Expand Down

0 comments on commit a9cb7c4

Please sign in to comment.