Przeglądaj źródła

Minecraft RCON Shutdown

own3mall 5 lat temu
rodzic
commit
2fe49c642b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      ogp_agent.pl

+ 1 - 1
ogp_agent.pl

@@ -1427,7 +1427,7 @@ sub send_rcon_command
 {
 {
 	return "Bad Encryption Key" unless(decrypt_param(pop(@_)) eq "Encryption checking OK");
 	return "Bad Encryption Key" unless(decrypt_param(pop(@_)) eq "Encryption checking OK");
 	my ($home_id, $server_ip, $server_port, $control_protocol,
 	my ($home_id, $server_ip, $server_port, $control_protocol,
-		$control_password, $control_type, $rconCommand, $homedir) = decrypt_params(@_);
+		$control_password, $control_type, $rconCommand) = decrypt_params(@_);
 
 
 	# legacy console
 	# legacy console
 	if ($control_protocol eq "lcon")
 	if ($control_protocol eq "lcon")