msgs.add("topic", new ActionMessage("error.user_in_blacklist"));
break;
}
ForumBean forum = BBSForumDAO.getForumByID(log.getForum());
if (forum == null || forum.getSite().getId() != site.getId()
|| !forum.canCreateOrUpdateTopic(loginUser)) {
msgs.add("topic", new ActionMessage("error.forum_not_available",
new Integer(log.getForum())));
break;
}