ที่ source\post.php
ค้นหา:
// This is an already existing message. Edit it.
if (!empty($_REQUEST['msg']))
{
// Have admins allowed people to hide their screwups?
if (time() - $row['poster_time'] > $modSettings['edit_wait_time'] || $user_info['id'] != $row['id_member'])
{
$msgOptions['modify_time'] = time();
$msgOptions['modify_name'] = $user_info['name'];
}
แทนที่:
// Have admins allowed people to hide their screwups?
if ((time() - $row['poster_time'] > $modSettings['edit_wait_time'] || $user_info['id'] != $row['id_member']) && (!in_array('moderate_board',$user_info['permissions']) && !$user_info['is_admin']))
{
$msgOptions['modify_time'] = time();
$msgOptions['modify_name'] = $user_info['name'];
}