diff --git a/src/sbbs3/atcodes.cpp b/src/sbbs3/atcodes.cpp index 5c237a9725ac98d6f1fa00eea121904498742c9b..41c28cbdbb667c5d72681ba08baed5dc1ac926c0 100644 --- a/src/sbbs3/atcodes.cpp +++ b/src/sbbs3/atcodes.cpp @@ -57,7 +57,7 @@ int sbbs_t::show_atcode(const char *instr) bool padded_right=false; const char *cp; - sprintf(str,"%.80s",instr); + SAFECOPY(str,instr); tp=strchr(str+1,'@'); if(!tp) /* no terminating @ */ return(0);