+/*
+ * Implements the GROUP command
+ */
+void nntp_group(const char *cmd) {
+ /*
+ * HACK: this works because the 5XX series error codes from citadel
+ * protocol will also be considered error codes by an NNTP client
+ */
+ if (CtdlAccessCheck(ac_logged_in_or_guest)) return;
+
+ char requested_group[1024];
+ char requested_room[ROOMNAMELEN];
+ extract_token(requested_group, cmd, 1, ' ', sizeof requested_group);
+ newsgroup_to_room(requested_room, requested_group, sizeof requested_room);
+
+ cprintf("599 FIXME screw you and your %s\r\n", requested_room);
+}
+
+