src/org/sonews/daemon/command/PostCommand.java
changeset 119 f5b57e221e38
parent 115 e5bfc969d41f
     1.1 --- a/src/org/sonews/daemon/command/PostCommand.java	Sat Nov 05 00:06:09 2011 +0100
     1.2 +++ b/src/org/sonews/daemon/command/PostCommand.java	Thu Jul 05 13:19:19 2012 +0200
     1.3 @@ -213,9 +213,7 @@
     1.4  
     1.5  	private void postArticle(NNTPConnection conn, Article article)
     1.6  			throws IOException {
     1.7 -		if (conn.getUser() != null && conn.getUser().isAuthenticated()) {
     1.8 -			article.setAuthenticatedUser(conn.getUser().getUserName());
     1.9 -		}
    1.10 +		article.setUser(conn.getUser());
    1.11  
    1.12  		if (article.getHeader(Headers.CONTROL)[0].length() > 0) {
    1.13  			controlMessage(conn, article);