diff --git a/resources/changelog.txt b/resources/changelog.txt index 8afa078..9b3eae7 100644 --- a/resources/changelog.txt +++ b/resources/changelog.txt @@ -402,4 +402,6 @@ v0.95: - Regression: channels.yml not handling /townychat reload, bug began in 0.92. v0.96: - Display invalid subcommand message when /ch is used with an invalid subcommand. - - Replace the splitter for channels saved in metadata with the , symbol. \ No newline at end of file + - Replace the splitter for channels saved in metadata with the , symbol. +v0.97: + - Fix the display_channel_join_message_on_joining_the_server option in the config not being used. \ No newline at end of file diff --git a/src/com/palmergames/bukkit/TownyChat/config/ConfigurationHandler.java b/src/com/palmergames/bukkit/TownyChat/config/ConfigurationHandler.java index 55f0dc9..66de315 100644 --- a/src/com/palmergames/bukkit/TownyChat/config/ConfigurationHandler.java +++ b/src/com/palmergames/bukkit/TownyChat/config/ConfigurationHandler.java @@ -203,7 +203,7 @@ public class ConfigurationHandler { } } - if (Key.equalsIgnoreCase("display_modes_set_on_join")) + if (Key.equalsIgnoreCase("display_channel_join_message_on_joining_the_server")) ChatSettings.setDisplayModesSetOnJoin(Boolean.valueOf(file.get(Key).toString())); if (Key.equalsIgnoreCase("colour")) {