Skip to content

Commit c8fcad3

Browse files
authored
Update serverWarn.php
1 parent c2aa839 commit c8fcad3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

serverWarn.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require 'core.php';
44

55
$hourLeft = 24;
6-
$mbLeft = 1000;
6+
$mbLeft = 1024;
77

88
if(file_exists("info.json")){
99
$info = json_decode(file_get_contents("info.json"),true);
@@ -118,7 +118,7 @@
118118
$expiryTime = substr($list[$keys]['expiryTime'],0,-3);
119119
}
120120

121-
if($total - $totalUsed < - ($mbLeft * 1024 * 1024) && $total != 0){
121+
if($total - $totalUsed <= ($mbLeft * 1024 * 1024) && $total != 0){
122122
if(!isset($usersInfo[$uuid])){
123123
$info['usersInfo'][$uuid] = "";
124124
sendMessage($Config['report_channel'], "

0 commit comments

Comments
 (0)