add deleting, promoting/demoting, guesting (soft banning) users
This commit is contained in:
@ -109,7 +109,7 @@ app:post("thread", "/:slug", function(self)
|
||||
return {redirect_to = self:url_for("thread", {slug = thread.slug})}
|
||||
end
|
||||
|
||||
if util.is_thread_locked(thread) and not user:is_admin() then
|
||||
if util.is_thread_locked(thread) and not user:is_mod() then
|
||||
return {redirect_to = self:url_for("thread", {slug = thread.slug})}
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user