From 016830df0ab78d0dedbb91aa4ad13619cb9d624d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 14 Jan 2015 06:50:19 +0100 Subject: [PATCH] Change message for channels requiring registration. --- src/main/java/net/pterodactylus/xdcc/core/Core.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.", -- 2.7.4