Commit dbef23d9 authored by rswindell's avatar rswindell
Browse files

Strip control codes from strings logged with sbbs_t::lputs().

parent c7a4f0e6
......@@ -294,6 +294,7 @@ int sbbs_t::lputs(int level, const char* str)
SAFEPRINTF(user_str, "%s ", useron.alias);
SAFEPRINTF3(msg, "%s%s%s", prefix, user_str, str);
strip_ctrl(msg, msg);
return ::eputs(level, msg);
return ::lputs(level, msg);
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