src/org/sonews/daemon/command/PostCommand.java
changeset 120 bb1c8a7b774c
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	Wed Dec 31 12:07:40 2014 +0100
     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);