From 57ac63d9c1ebd58d85500581373651c442d70395 Mon Sep 17 00:00:00 2001 From: Uncovery Date: Wed, 20 May 2020 14:41:24 +0800 Subject: [PATCH] mysql function update --- settler_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settler_test.php b/settler_test.php index 505b36a..c7e484d 100644 --- a/settler_test.php +++ b/settler_test.php @@ -408,7 +408,7 @@ function umc_settler_new() { umc_exec_command($cmd); // update UUID database $sql = "UPDATE minecraft_srvr.UUID SET userlevel='Settler' WHERE UUID='{$UMC_USER['uuid']}';"; - umc_mysql_query($sql); + umc_mysql_execute_query($sql); umc_exec_command('pex reload'); umc_mod_broadcast("Congrats $player for becoming Settler!"); XMPP_ERROR_send_msg("$userlevel $player got promoted with command " . $cmd);