Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 41b375bc authored by runemaster's avatar runemaster

Bugfix ... do not do fancy profile stuff if sub=='mail' it does not work :)

parent 4e5538fd
......@@ -33,6 +33,7 @@ if(hdr.from_ext!=undefined) {
usr = new User(template.u_num);
template.author_firston = strftime("%m/%d/%y",usr.stats.firston_date);
template.author_posts = usr.stats.total_posts;
if(sub!='mail') {
if((user.compare_ars(msg_area.sub[sub].operator_ars) && msg_area.sub[sub].operator_ars != '' || user.number==1) && show_ip==true) {
template.author_ip='IP: ' + usr.note + '<br /><br />';
}
......@@ -51,6 +52,7 @@ if(hdr.from_ext!=undefined) {
}
}
}
}
template.can_delete=can_delete(m);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment