mirror of
https://github.com/neocities/neocities.git
synced 2025-08-04 00:31:59 +02:00
You never know.
This commit is contained in:
parent
7e2ee59186
commit
a1023948f8
3 changed files with 22 additions and 0 deletions
|
@ -496,6 +496,7 @@ class Site < Sequel::Model
|
|||
=end
|
||||
|
||||
def commenting_allowed?
|
||||
return false if owner.commenting_banned == true
|
||||
return true if owner.commenting_allowed
|
||||
|
||||
if owner.supporter?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue