Skip to content
Snippets Groups Projects
Commit 07c3b321 authored by rswindell's avatar rswindell
Browse files

Added support for real name only subs.

parent b38e6798
No related branches found
No related tags found
No related merge requests found
......@@ -389,6 +389,10 @@ while(client.socket.is_connected) {
msgbase.close();
delete msgbase;
}
log(format("misc=%x",msg_area.grp_list[g].sub_list[s].settings));
if(msg_area.grp_list[g].sub_list[s].settings&SUB_NAME
&& !(user.security.restrictions&(UFLAG_G|UFLAG_Q)))
hdr.from=user.name; // Use real names
msgbase=new MsgBase(msg_area.grp_list[g].sub_list[s].code);
if(msgbase.save_msg(hdr,body)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment