diff --git a/src/sbbs3/str.cpp b/src/sbbs3/str.cpp index 49e5c87b925a7e9ac7f8dddd1a61248f4af1a5bb..b1823b02c596d6eb4ef93ec4f379c123a6052f21 100644 --- a/src/sbbs3/str.cpp +++ b/src/sbbs3/str.cpp @@ -71,10 +71,10 @@ void sbbs_t::userlist(char mode) char name[256],sort=0; char tmp[512]; int i,j,k,users=0; - char * line[1000]; + char * line[2500]; user_t user; - if(lastuser(&cfg)<=1000) + if(lastuser(&cfg)<=(sizeof(line)/sizeof(line[0]))) sort=yesno(text[SortAlphaQ]); if(sort) { bputs(text[CheckingSlots]); }