From 27a2c1f660573e53b9d78da4f1044de350bfee16 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 25 Oct 2002 09:12:59 +0000 Subject: [PATCH] Added support for the XGTITLE NNTP command (no wildmat support). --- exec/nntpservice.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/exec/nntpservice.js b/exec/nntpservice.js index b0d6f95e9a..e90cc6f905 100644 --- a/exec/nntpservice.js +++ b/exec/nntpservice.js @@ -216,6 +216,17 @@ while(client.socket.is_connected) { writeln("."); // end of list break; + case "XGTITLE": + writeln("282 list of newsgroups follows"); + for(g in msg_area.grp_list) + for(s in msg_area.grp_list[g].sub_list) + writeln(format("%s %s" + ,msg_area.grp_list[g].sub_list[s].newsgroup + ,msg_area.grp_list[g].sub_list[s].description + )); + writeln("."); // end of list + break; + case "NEWGROUPS": writeln("231 list of new newsgroups follows"); writeln("."); // end of list -- GitLab