diff -r 74139325d305 -r f5b57e221e38 src/org/sonews/daemon/command/GroupCommand.java --- a/src/org/sonews/daemon/command/GroupCommand.java Sun Aug 29 18:17:37 2010 +0200 +++ b/src/org/sonews/daemon/command/GroupCommand.java Thu Jul 05 13:19:19 2012 +0200 @@ -20,8 +20,9 @@ import java.io.IOException; import org.sonews.daemon.NNTPConnection; -import org.sonews.storage.Channel; +import org.sonews.storage.Group; import org.sonews.storage.StorageBackendException; +import org.sonews.storage.StorageManager; /** * Class handling the GROUP command. @@ -78,9 +79,9 @@ { final String[] command = line.split(" "); - Channel group; + Group group; if (command.length >= 2) { - group = Channel.getByName(command[1]); + group = StorageManager.current().getGroup(command[1]); if (group == null || group.isDeleted()) { conn.println("411 no such news group"); } else {