AmendHub

Download:

jcs

/

subtext

/

amendments

/

176

board: Fix comparison in deletion check


jcs made amendment 176 over 2 years ago
--- board.c Wed Jun 22 16:00:37 2022 +++ board.c Tue Jun 28 10:06:12 2022 @@ -571,7 +571,7 @@ board_post_read(struct session *s, struct board *board switch (c) { case 'd': if (!(s->user && (s->user->is_sysop || - s->user->id == post.id))) { + s->user->id == post.sender_user_id))) { session_printf(s, "Invalid option\r\n"); session_flush(s); break;