--- projects/cms/source/server/uk/org/iscream/cms/server/client/alerters/IRC__Alerter.java 2001/05/29 17:02:34 1.29 +++ projects/cms/source/server/uk/org/iscream/cms/server/client/alerters/IRC__Alerter.java 2002/01/17 17:58:12 1.30 @@ -18,7 +18,7 @@ import java.text.DateFormat; * IRCBot inner class. * * @author $Author: tdb $ - * @version $Id: IRC__Alerter.java,v 1.29 2001/05/29 17:02:34 tdb Exp $ + * @version $Id: IRC__Alerter.java,v 1.30 2002/01/17 17:58:12 tdb Exp $ */ public class IRC__Alerter extends AlerterSkeleton { @@ -27,7 +27,7 @@ public class IRC__Alerter extends AlerterSkeleton { /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.29 $"; + public final String REVISION = "$Revision: 1.30 $"; /** * A description of this alerter @@ -442,7 +442,9 @@ public class IRC__Alerter extends AlerterSkeleton { _socketOut.println("PONG" + line.substring(4)); } // see if it's for us - else if(getMsg(line).startsWith(_nickname+",") || getMsg(line).startsWith(_nickname+":") || getMsg(line).startsWith(_nickname+" ")) { + else if(getMsg(line).toLowerCase().startsWith(_nickname.toLowerCase()+",") || + getMsg(line).toLowerCase().startsWith(_nickname.toLowerCase()+":") || + getMsg(line).toLowerCase().startsWith(_nickname.toLowerCase()+" ")) { // setup some String's String stopCommand, startCommand, timeSinceLastAlertCommand, lastAlertCommand, joinCommand; String nickChangeCommand, versionCommand, helpCommand, statCommand, uptimeCommand;