diff -r 1090e2141798 -r 2fdc9cc89502 org/sonews/daemon/NNTPDaemon.java --- a/org/sonews/daemon/NNTPDaemon.java Wed Jul 01 10:48:22 2009 +0200 +++ b/org/sonews/daemon/NNTPDaemon.java Wed Jul 22 14:04:05 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)