From 00b348644a95a4c6cc6cc958c6daad2010c90790 Mon Sep 17 00:00:00 2001 From: Erik Bakker Date: Fri, 4 Nov 2011 21:05:49 +0100 Subject: [PATCH] Fix [JENKINS-11623], change default username to 'PircBotx' to be able to connect with ircu servers. --- src/main/java/hudson/plugins/ircbot/v2/IRCConnection.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/hudson/plugins/ircbot/v2/IRCConnection.java b/src/main/java/hudson/plugins/ircbot/v2/IRCConnection.java index c7d2c17b..ffdaa90c 100644 --- a/src/main/java/hudson/plugins/ircbot/v2/IRCConnection.java +++ b/src/main/java/hudson/plugins/ircbot/v2/IRCConnection.java @@ -58,6 +58,8 @@ public IRCConnection(DescriptorImpl descriptor, AuthenticationHolder authenticat if (LOGGER.isLoggable(Level.FINEST)) { this.pircConnection.setVerbose(true); } + // Defaults to PircBotX, but ircu doesn't allow more than two capitals. + this.pircConnection.setLogin("PircBotx"); this.descriptor = descriptor; this.authentication = authentication;