Fix errors. about mommi config variables
This commit is contained in:
@@ -82,6 +82,12 @@ namespace Content.Server
|
||||
|
||||
var password = _configurationManager.GetCVar(CCVars.StatusMoMMIPassword);
|
||||
|
||||
if (string.IsNullOrEmpty(password))
|
||||
{
|
||||
response.StatusCode = (int) HttpStatusCode.Forbidden;
|
||||
return true;
|
||||
}
|
||||
|
||||
OOCPostMessage message = null;
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user