Skip to content
Snippets Groups Projects
Commit 1cc20126 authored by rswindell's avatar rswindell
Browse files

Fixed bug in CONF @-code.

parent a378f689
No related branches found
No related tags found
No related merge requests found
...@@ -512,7 +512,7 @@ char* sbbs_t::atcode(char* sp, char* str) ...@@ -512,7 +512,7 @@ char* sbbs_t::atcode(char* sp, char* str)
} }
if(!strcmp(sp,"CONF")) { if(!strcmp(sp,"CONF")) {
sprintf("%s %s" sprintf(str,"%s %s"
,usrgrps ? cfg.grp[usrgrp[curgrp]]->sname :nulstr ,usrgrps ? cfg.grp[usrgrp[curgrp]]->sname :nulstr
,usrgrps ? cfg.sub[usrsub[curgrp][cursub[curgrp]]]->sname : nulstr); ,usrgrps ? cfg.sub[usrsub[curgrp][cursub[curgrp]]]->sname : nulstr);
return(str); return(str);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment