--- projects/cms/source/server/uk/org/iscream/cms/server/client/alerters/IRC__Alerter.java 2002/05/21 16:47:16 1.33 +++ projects/cms/source/server/uk/org/iscream/cms/server/client/alerters/IRC__Alerter.java 2002/06/06 14:24:20 1.34 @@ -39,7 +39,7 @@ import org.jibble.pircbot.*; * IRCBot inner class. * * @author $Author: tdb $ - * @version $Id: IRC__Alerter.java,v 1.33 2002/05/21 16:47:16 tdb Exp $ + * @version $Id: IRC__Alerter.java,v 1.34 2002/06/06 14:24:20 tdb Exp $ */ public class IRC__Alerter extends AlerterSkeleton { @@ -48,7 +48,7 @@ public class IRC__Alerter extends AlerterSkeleton { /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.33 $"; + public final String REVISION = "$Revision: 1.34 $"; /** * A description of this alerter @@ -309,14 +309,14 @@ public class IRC__Alerter extends AlerterSkeleton { _logger.write(this.toString(), Logger.ERROR, "IO error when connecting to server: "+e); throw new IOException("IO error when connecting to server"); } - catch(IrcException e) { - _logger.write(this.toString(), Logger.ERROR, "IRC error when connecting to server: "+e); - throw new IOException("IRC error when connecting to server"); - } catch(NickAlreadyInUseException e) { _logger.write(this.toString(), Logger.ERROR, "Nickname "+nick+" is already in use: "+e); // don't do anything, instead just loop round // and try the next nickname in the list + } + catch(IrcException e) { + _logger.write(this.toString(), Logger.ERROR, "IRC error when connecting to server: "+e); + throw new IOException("IRC error when connecting to server"); } } if(!ok) {