diff -r 74139325d305 -r b2df305a13ce 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 Tue Sep 13 23:34:16 2011 +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 {