Skip to content
Snippets Groups Projects
Commit a67545b6 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix issue with being able to read mail base as a newsgroup

... when using the -mail option, which probably no sysop is.

Just needed to set the 'can_read' property.

As reported via IRC by Accession
parent 546725fc
Branches
No related tags found
No related merge requests found
...@@ -466,7 +466,7 @@ while(client.socket.is_connected && !quit) { ...@@ -466,7 +466,7 @@ while(client.socket.is_connected && !quit) {
msgbase.close(); msgbase.close();
msgbase=new MsgBase("mail"); msgbase=new MsgBase("mail");
if(msgbase.open()==true) { if(msgbase.open()==true) {
selected = { newsgroup: "mail" }; selected = { newsgroup: "mail", can_read: true };
found=true; found=true;
} else { } else {
log(LOG_ERR, "Error " + msgbase.error + " opening " + msgbase.file); log(LOG_ERR, "Error " + msgbase.error + " opening " + msgbase.file);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment