mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
Formatting cleanup.
This commit is contained in:
@@ -72,7 +72,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Regions
|
||||
{
|
||||
get
|
||||
{
|
||||
switch(idx.ToLower())
|
||||
switch (idx.ToLower())
|
||||
{
|
||||
case "name":
|
||||
return region_name;
|
||||
|
||||
@@ -194,7 +194,7 @@ namespace OpenSim.ApplicationPlugins.Rest
|
||||
|
||||
try
|
||||
{
|
||||
if ((_config = openSim.ConfigSource.Configs["RestPlugins"]) == null)
|
||||
if ((_config = openSim.ConfigSource.Configs["RestPlugins"]) == null)
|
||||
{
|
||||
m_log.WarnFormat("{0} Rest Plugins not configured", MsgID);
|
||||
return;
|
||||
@@ -296,7 +296,7 @@ namespace OpenSim.ApplicationPlugins.Rest
|
||||
public bool RemoveAgentHandler(string agentName, IHttpAgentHandler handler)
|
||||
{
|
||||
if (!IsEnabled) return false;
|
||||
if(_agents[agentName] == handler)
|
||||
if (_agents[agentName] == handler)
|
||||
{
|
||||
_agents.Remove(agentName);
|
||||
return _httpd.RemoveAgentHandler(agentName, handler);
|
||||
|
||||
Reference in New Issue
Block a user