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

Commit a9eb2d9a authored by rswindell's avatar rswindell

Add FREECDT @-code

parent 10916f3c
......@@ -956,6 +956,11 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode)
if(strcmp(sp, "FREECDT") == 0) {
safe_snprintf(str, maxlen, "%lu", useron.freecdt);
return str;
if(!strcmp(sp,"CONF")) {
safe_snprintf(str,maxlen,"%s %s"
,usrgrps ? cfg.grp[usrgrp[curgrp]]->sname :nulstr
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