mirror of
https://github.com/neocities/neocities.git
synced 2025-04-28 11:12:30 +02:00
Merge kyledrake changes
This commit is contained in:
commit
cfbd7fb673
1 changed files with 4 additions and 0 deletions
|
@ -367,6 +367,10 @@ class Site < Sequel::Model
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def is_banned?
|
||||||
|
is_banned
|
||||||
|
end
|
||||||
|
|
||||||
def ban!
|
def ban!
|
||||||
if username.nil? || username.empty?
|
if username.nil? || username.empty?
|
||||||
raise 'username is missing'
|
raise 'username is missing'
|
||||||
|
|
Loading…
Add table
Reference in a new issue