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

Check the DELETE attribute before the MODERATED/VALIDATED attributes

parent 76221100
Branches
Tags
1 merge request!455Update branch with changes from master
......@@ -713,14 +713,14 @@ while(client.socket.is_connected && !quit) {
/* Eliminate dupe loops
if(user.security.restrictions&UFLAG_Q && hdr!=null)
*/
if(hdr.attr&MSG_MODERATED && !(hdr.attr&MSG_VALIDATED)) {
writeln("430 unvalidated message");
break;
}
if(hdr.attr&MSG_DELETE) {
writeln("430 deleted message");
break;
}
if(hdr.attr&MSG_MODERATED && !(hdr.attr&MSG_VALIDATED)) {
writeln("430 unvalidated message");
break;
}
if(hdr.attr&MSG_PRIVATE
&& hdr.to.toLowerCase()!=user.alias.toLowerCase()
&& hdr.to.toLowerCase()!=user.name.toLowerCase()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment