diff -r 6fceb66e1ad7 -r 70028c8a63fd org/sonews/daemon/NNTPDaemon.java --- a/org/sonews/daemon/NNTPDaemon.java Fri Jun 26 16:48:50 2009 +0200 +++ b/org/sonews/daemon/NNTPDaemon.java Wed Aug 12 16:43:30 2009 +0200 @@ -18,6 +18,8 @@ package org.sonews.daemon; +import org.sonews.config.Config; +import org.sonews.Main; import org.sonews.util.Log; import java.io.IOException; import java.net.BindException; @@ -140,7 +142,7 @@ // Set write selection key and send hello to client conn.setWriteSelectionKey(selKeyWrite); - conn.println("200 " + Config.getInstance().get(Config.HOSTNAME, "localhost") + conn.println("200 " + Config.inst().get(Config.HOSTNAME, "localhost") + " " + Main.VERSION + " news server ready - (posting ok)."); } catch(CancelledKeyException cke)