1.1 --- a/org/sonews/daemon/command/PostCommand.java Fri Aug 21 17:33:15 2009 +0200
1.2 +++ b/org/sonews/daemon/command/PostCommand.java Fri Aug 21 17:40:54 2009 +0200
1.3 @@ -252,7 +252,7 @@
1.4 {
1.5 // Circle check; note that Path can already contain the hostname here
1.6 String host = Config.inst().get(Config.HOSTNAME, "localhost");
1.7 - if(article.getHeader(Headers.PATH)[0].contains(host + "!"))
1.8 + if(article.getHeader(Headers.PATH)[0].indexOf(host + "!", 1) > 0)
1.9 {
1.10 Log.get().info(article.getMessageID() + " skipped for host " + host);
1.11 conn.println("441 I know this article already");