Merge kyledrake changes

This commit is contained in:
Victoria Wang 2014-11-18 17:12:27 -06:00
commit cfbd7fb673

View file

@ -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'