summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-03-07 17:28:57 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-03-07 17:28:57 -0500
commit5f7189c2fe6f39b2056d5f3a6d91e557306697da (patch)
tree6736d10e1037fdf99a510abda110c101b92e32d2 /app/models/user.rb
parentd9a19d269bb773d676cf049dbf58d675c3fa0db9 (diff)
I think I fixed the issue with permissions.
Diffstat (limited to 'app/models/user.rb')
-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 6e439fb..70e7f25 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 true #((groups & 1) != 0)
+ return ((groups & 1) != 0)
when :player
return true
when :specator