diff --git a/src/main/java/com/cnaude/purpleirc/PurpleBot.java b/src/main/java/com/cnaude/purpleirc/PurpleBot.java index 8d091dc..a304f1f 100644 --- a/src/main/java/com/cnaude/purpleirc/PurpleBot.java +++ b/src/main/java/com/cnaude/purpleirc/PurpleBot.java @@ -686,7 +686,7 @@ public final class PurpleBot { plugin.logDebug("CustomPrefix: " + pair[0] + " => " + pair[1]); } } - defaultCustomPrefix = config.getString("custom-prefix-deault", "[IRC]"); + defaultCustomPrefix = config.getString("custom-prefix-default", "[IRC]"); // build command notify recipient list for (String recipient : config.getStringList("command-notify.recipients")) { diff --git a/src/main/resources/SampleBot.yml b/src/main/resources/SampleBot.yml index a7ef596..01225ca 100644 --- a/src/main/resources/SampleBot.yml +++ b/src/main/resources/SampleBot.yml @@ -66,13 +66,13 @@ part-invalid-channels: false part-invalid-channels-message: 'I should not be here! Bye!' # Channel auto join delay in server ticks (20 ticks = 1 second) channel-auto-join-delay: 20 -# If your irc-chat message has a %CUSTOMPREFIX% the these custom prefixes can replace them. +# If your irc-chat message has a %CUSTOMPREFIX% then these custom prefixes can replace them. # Can match either nick or hostmask custom-prefixes: - 'AwesomeNick [AwesomePrefix]' - '*!*sarah@example.com [Owner]' # Default if no match is found -custom-prefix-deault: '[IRC]' +custom-prefix-default: '[IRC]' # channels - List the channels your bot will join here channels: # Channel name must be surrounded by sing quotes to be YAML compliant.