continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r510038 - /maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java
Date Wed, 21 Feb 2007 14:32:35 GMT
Author: evenisse
Date: Wed Feb 21 06:32:34 2007
New Revision: 510038

URL: http://svn.apache.org/viewvc?view=rev&rev=510038
Log:
Use the nick define by the user instead of always use 'continuum'

Modified:
    maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java

Modified: maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java?view=diff&rev=510038&r1=510037&r2=510038
==============================================================================
--- maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java
(original)
+++ maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java
Wed Feb 21 06:32:34 2007
@@ -130,9 +130,9 @@
 
         String login = (String) configuration.get( "nick" );
 
-        if ( !StringUtils.isEmpty( login ) )
+        if ( StringUtils.isEmpty( login ) )
         {
-            ircClient.setLogin( login );
+            login = "continuum";
         }
 
         String fullName = (String) configuration.get( "fullName" );
@@ -155,7 +155,9 @@
 
         try
         {
-            ircClient.connect( host, port, "continuum" );
+            ircClient.connect( host, port );
+
+            ircClient.setLogin( login );
 
             ircClient.logon();
 



Mime
View raw message