diff --git a/pom.xml b/pom.xml index 154c4cc..c2e1946 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.palmergames.bukkit TownyChat jar - 0.82 + 0.83 diff --git a/resources/changelog.txt b/resources/changelog.txt index aeeaeef..7f0cd88 100644 --- a/resources/changelog.txt +++ b/resources/changelog.txt @@ -345,4 +345,6 @@ v0.81: - Fix double prefix displaying on the message shown when using a channel command for the channel you're already joined to. v0.82: - Fix Towny not being in the depend list (instead of the softdepend list.) - - Should solve load order issues. \ No newline at end of file + - Should solve load order issues. +v0.83: + - Fix townychat.spam.bypass doing the opposite of its job. \ No newline at end of file diff --git a/src/com/palmergames/bukkit/TownyChat/channels/Channel.java b/src/com/palmergames/bukkit/TownyChat/channels/Channel.java index 23bd1ab..f898b99 100644 --- a/src/com/palmergames/bukkit/TownyChat/channels/Channel.java +++ b/src/com/palmergames/bukkit/TownyChat/channels/Channel.java @@ -254,7 +254,7 @@ public abstract class Channel { * @return */ public boolean isSpam(Player player) { - if (!player.hasPermission("townychat.spam.bypass")) + if (player.hasPermission("townychat.spam.bypass")) return false; long timeNow = System.currentTimeMillis(); long spam = timeNow;