Update eqemu_server.pl [skip ci]

This commit is contained in:
Akkadius 2019-01-22 03:11:00 -06:00
parent 16270d7f93
commit 5aa64f362d

View File

@ -2246,7 +2246,7 @@ sub run_database_check {
} }
#::: Iterate through Manifest backwards from binary version down to local version... #::: Iterate through Manifest backwards from binary version down to local version...
for ($i = $revision_check; $i < $binary_database_version; $i++) { for ($i = $revision_check; $i <= $binary_database_version; $i++) {
if (!defined($m_d{$i}[0])) { if (!defined($m_d{$i}[0])) {
next; next;
} }
@ -2264,14 +2264,14 @@ sub run_database_check {
push(@total_updates, $i); push(@total_updates, $i);
} }
else { else {
print "[Database] has update: " . $i . " - '" . $file_name . "' \n"; print "[Database] has update (" . $i . ") '" . $file_name . "' \n";
} }
print_match_debug(); print_match_debug();
print_break(); print_break();
} }
if ($match_type eq "missing") { if ($match_type eq "missing") {
if (get_mysql_result($query_check) =~ /$match_text/i) { if (get_mysql_result($query_check) =~ /$match_text/i) {
print "[Database] has update: " . $i . " - '" . $file_name . "' \n"; print "[Database] has update (" . $i . ") '" . $file_name . "' \n";
next; next;
} }
else { else {
@ -2289,7 +2289,7 @@ sub run_database_check {
push(@total_updates, $i); push(@total_updates, $i);
} }
else { else {
print "[Database] has update: " . $i . " - '" . $file_name . "' \n"; print "[Database] has update (" . $i . ") '" . $file_name . "' \n";
} }
print_match_debug(); print_match_debug();
print_break(); print_break();
@ -2301,7 +2301,7 @@ sub run_database_check {
push(@total_updates, $i); push(@total_updates, $i);
} }
else { else {
print "[Database] has update: " . $i . " - '" . $file_name . "' \n"; print "[Database] has update (" . $i . ") '" . $file_name . "' \n";
} }
print_match_debug(); print_match_debug();
print_break(); print_break();