Fix typo in welcome message update query
This commit is contained in:
parent
9cc81764c1
commit
d8905f6914
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user