mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
fix for file save in editor
This commit is contained in:
parent
08ae90d601
commit
64433ac957
1 changed files with 4 additions and 0 deletions
|
@ -367,6 +367,10 @@ class Site < Sequel::Model
|
|||
}
|
||||
end
|
||||
|
||||
def is_banned?
|
||||
is_banned
|
||||
end
|
||||
|
||||
def ban!
|
||||
if username.nil? || username.empty?
|
||||
raise 'username is missing'
|
||||
|
|
Loading…
Add table
Reference in a new issue