Fix typo in welcome message update query

This commit is contained in:
Salmonllama 2020-07-30 18:02:26 -04:00
parent 9cc81764c1
commit d8905f6914

View File

@ -72,7 +72,7 @@ public class ServerConfigController {
} }
private static void updateExec(ServerConfig config) throws SQLException { private static void updateExec(ServerConfig config) throws SQLException {
FSDB.get().query("UPDATE server_config SET prefix = ?, welcome_message = ?, welcome_channel = ?, WHERE id = ?", FSDB.get().query("UPDATE server_config SET prefix = ?, welcome_message = ?, welcome_channel = ? WHERE id = ?",
config.getPrefix(), config.getPrefix(),
config.getWelcomeMessage(), config.getWelcomeMessage(),
config.getWelcomeChannel(), config.getWelcomeChannel(),