mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Update Room.java
This commit is contained in:
parent
c7ed4a88c2
commit
b28bf5f4ef
@ -3962,6 +3962,7 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
||||
return;
|
||||
|
||||
this.sendComposer(new RoomRemoveRightsListComposer(this, userId).compose());
|
||||
|
||||
if (this.rights.remove(userId)) {
|
||||
try (Connection connection = Emulator.getDatabase().getDataSource().getConnection(); PreparedStatement statement = connection.prepareStatement("DELETE FROM room_rights WHERE room_id = ? AND user_id = ?")) {
|
||||
statement.setInt(1, this.id);
|
||||
|
Loading…
Reference in New Issue
Block a user