From: David ‘Bombe’ Roden Date: Wed, 14 Jan 2015 05:50:19 +0000 (+0100) Subject: Change message for channels requiring registration. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=016830df0ab78d0dedbb91aa4ad13619cb9d624d;p=xudocci.git Change message for channels requiring registration. --- diff --git a/src/main/java/net/pterodactylus/xdcc/core/Core.java b/src/main/java/net/pterodactylus/xdcc/core/Core.java index d39ee2b..da202e4 100644 --- a/src/main/java/net/pterodactylus/xdcc/core/Core.java +++ b/src/main/java/net/pterodactylus/xdcc/core/Core.java @@ -661,7 +661,8 @@ public class Core extends AbstractExecutionThreadService { channelBanManager.ban(channel.get()); if (channelNotJoined.reason() == registeredNicknamesOnly) { eventBus.post(new GenericMessage( - format("Not trying to join %s anymore.", channel.get()))); + format("%s requires nickname registration, suspending join for a day.", + channel.get()))); } else if (channelNotJoined.reason() == inviteOnly) { eventBus.post(new GenericMessage( format("%s is invite-only, suspending join for a day.",