Skip to content
Snippets Groups Projects
Commit 27a2c1f6 authored by rswindell's avatar rswindell
Browse files

Added support for the XGTITLE NNTP command (no wildmat support).

parent 535478e0
No related branches found
No related tags found
No related merge requests found
...@@ -216,6 +216,17 @@ while(client.socket.is_connected) { ...@@ -216,6 +216,17 @@ while(client.socket.is_connected) {
writeln("."); // end of list writeln("."); // end of list
break; 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": case "NEWGROUPS":
writeln("231 list of new newsgroups follows"); writeln("231 list of new newsgroups follows");
writeln("."); // end of list writeln("."); // end of list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment