forked from External/greenlight
Moved moderator access setting to Room Configuration (#2579)
This commit is contained in:
@ -188,7 +188,7 @@ class ApplicationController < ActionController::Base
|
||||
|
||||
# Indicates whether users are allowed to add moderator access codes to rooms
|
||||
def moderator_code_allowed?
|
||||
@settings.get_value("Moderator Access Codes") == "true"
|
||||
@settings.get_value("Room Configuration Moderator Access Codes") == "optional"
|
||||
end
|
||||
helper_method :moderator_code_allowed?
|
||||
|
||||
|
Reference in New Issue
Block a user