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 03760e03 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

read_ar is no longer a ptr, it's an array

CID 319112
parent 1e1f08de
Pipeline #1819 passed with stage
in 10 minutes and 52 seconds
......@@ -60,8 +60,7 @@ void sbbs_t::userlist(long mode)
if(!chk_ar(cfg.grp[usrgrp[curgrp]]->ar,&user,/* client: */NULL))
continue;
if(!chk_ar(cfg.sub[usrsub[curgrp][cursub[curgrp]]]->ar,&user,/* client: */NULL)
|| (cfg.sub[usrsub[curgrp][cursub[curgrp]]]->read_ar!=NULL
&& cfg.sub[usrsub[curgrp][cursub[curgrp]]]->read_ar[0]
|| (cfg.sub[usrsub[curgrp][cursub[curgrp]]]->read_ar[0]
&& !chk_ar(cfg.sub[usrsub[curgrp][cursub[curgrp]]]->read_ar,&user,/* client: */NULL)))
continue;
}
......
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