mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Add SQL and fix code
This commit is contained in:
parent
462592f217
commit
caf0bcb41f
@ -1 +0,0 @@
|
|||||||
ALTER TABLE `permissions` ADD `acc_hide_mail` ENUM('0', '1') NOT NULL DEFAULT '0' AFTER `acc_hide_ip`;
|
|
3
sqlupdates/2_4_0-RC-1 to 2_4_0-RC-2.sql
Normal file
3
sqlupdates/2_4_0-RC-1 to 2_4_0-RC-2.sql
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
ALTER TABLE `permissions` ADD `acc_hide_mail` ENUM('0', '1') NOT NULL DEFAULT '0' AFTER `acc_hide_ip`;
|
||||||
|
|
||||||
|
INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('flood.with.rights', '0');
|
@ -1214,13 +1214,14 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (habbo.getHabboStats().chatCounter > 3 && this.hasRights(habbo)) {
|
else if (habbo.getHabboStats().chatCounter > 3 && this.hasRights(habbo)) {
|
||||||
if (this.chatProtection == 0) {
|
if (this.chatProtection == 0) {
|
||||||
this.floodMuteHabbo(habbo, 30);
|
this.floodMuteHabbo(habbo, 30);
|
||||||
} else if (this.chatProtection == 1 && habbo.getHabboStats().chatCounter > 4) {
|
} else if (this.chatProtection == 1 && habbo.getHabboStats().chatCounter > 4) {
|
||||||
this.floodMuteHabbo(habbo, 30);
|
this.floodMuteHabbo(habbo, 30);
|
||||||
} else if (this.chatProtection == 2 && habbo.getHabboStats().chatCounter > 5) {
|
} else if (this.chatProtection == 2 && habbo.getHabboStats().chatCounter > 5) {
|
||||||
this.floodMuteHabbo(habbo, 30);
|
this.floodMuteHabbo(habbo, 30);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user