summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-03-07 17:34:47 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-03-07 17:34:47 -0500
commite43fb6fc5a7544db177768234132cef29eba22d2 (patch)
treeb3d67b66dd4c21d2ee1b8f4874f6e7a217fd3105 /app/models
parent5f7189c2fe6f39b2056d5f3a6d91e557306697da (diff)
Made the tournaments defaults back to reasonable and permissions 'work'
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 70e7f25..6e439fb 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -19,7 +19,7 @@ class User < ActiveRecord::Base
when :admin
return ((groups & 2) != 0)
when :host
- return ((groups & 1) != 0)
+ return true #((groups & 1) != 0)
when :player
return true
when :specator