--- lbbs/src/user_info_update.c 2025/11/05 14:59:31 1.1 +++ lbbs/src/user_info_update.c 2025/11/07 12:02:25 1.3 @@ -9,6 +9,7 @@ */ #include "bbs.h" +#include "bwf.h" #include "database.h" #include "editor.h" #include "io.h" @@ -103,6 +104,13 @@ int user_intro_edit(int uid) goto cleanup; } + if (check_badwords(intro, '*') < 0) + { + log_error("check_badwords(introduction) error\n"); + ret = -3; + goto cleanup; + } + lml_render(intro, intro_f, sizeof(intro_f), SCREEN_COLS, 0); lines = split_data_lines(intro_f, SCREEN_COLS + 1, line_offsets, BBS_user_intro_max_line + 2, 1, NULL); @@ -124,6 +132,7 @@ int user_intro_edit(int uid) press_any_key(); goto cleanup; case 'E': + ch = 'E'; continue; default: // Invalid selection continue;