reminders
This commit is contained in:
parent
4daf677595
commit
c8539bfaef
@ -78,6 +78,7 @@ public class ServerBlacklistController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void insertExec(ServerBlacklist bl) throws SQLException {
|
private static void insertExec(ServerBlacklist bl) throws SQLException {
|
||||||
|
// TODO: Check for null added timestamp and init
|
||||||
FSDB.get().insert("INSERT INTO blacklist_servers ('id', 'name', 'owner_id', 'added') VALUES (?, ?, ?, ?)",
|
FSDB.get().insert("INSERT INTO blacklist_servers ('id', 'name', 'owner_id', 'added') VALUES (?, ?, ?, ?)",
|
||||||
bl.getId(),
|
bl.getId(),
|
||||||
bl.getName(),
|
bl.getName(),
|
||||||
|
@ -82,6 +82,7 @@ public class UserBlacklistController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void insertExec(UserBlacklist bl) throws SQLException {
|
private static void insertExec(UserBlacklist bl) throws SQLException {
|
||||||
|
// TODO: Check for null timestamp and init
|
||||||
FSDB.get().insert("INSERT INTO blacklist_users ('id', 'reason', 'added') VALUES (?, ?, ?)",
|
FSDB.get().insert("INSERT INTO blacklist_users ('id', 'reason', 'added') VALUES (?, ?, ?)",
|
||||||
bl.getId(),
|
bl.getId(),
|
||||||
bl.getReason(),
|
bl.getReason(),
|
||||||
|
Loading…
Reference in New Issue
Block a user