Update class_moderation.php

Fix to address issue 1057
https://github.com/mybb/mybb/issues/1057