mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Formatting cleanup.
This commit is contained in:
@@ -601,7 +601,7 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
|
||||
if (names.Length > 1)
|
||||
return names[1];
|
||||
return names[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public IScene Scene
|
||||
|
||||
@@ -351,7 +351,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat
|
||||
{
|
||||
m_log.DebugFormat("[IRC-Region {0}] dropping message {1} on channel {2}", Region, msg, msg.Channel);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
ScenePresence avatar = null;
|
||||
string fromName = msg.From;
|
||||
|
||||
@@ -97,8 +97,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
</document>", Context, Realm);
|
||||
}
|
||||
|
||||
return response;
|
||||
}
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
response["str_response_string"] = "";
|
||||
}
|
||||
}
|
||||
return response;
|
||||
return response;
|
||||
}
|
||||
|
||||
private Hashtable HandleRegister(string Context, string Realm, Hashtable request)
|
||||
@@ -309,17 +309,17 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
"</document>\r\n",
|
||||
domain, Context);
|
||||
|
||||
return response;
|
||||
}
|
||||
return response;
|
||||
}
|
||||
|
||||
|
||||
// private Hashtable HandleLoadNetworkLists(Hashtable request)
|
||||
// {
|
||||
// m_log.Info("[FreeSwitchDirectory] HandleLoadNetworkLists called");
|
||||
//
|
||||
//
|
||||
// // TODO the password we return needs to match that sent in the request, this is hard coded for now
|
||||
// string domain = (string) request["domain"];
|
||||
//
|
||||
//
|
||||
// Hashtable response = new Hashtable();
|
||||
// response["content_type"] = "text/xml";
|
||||
// response["keepalive"] = false;
|
||||
@@ -340,9 +340,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
// "</section>\r\n" +
|
||||
// "</document>\r\n",
|
||||
// domain);
|
||||
//
|
||||
//
|
||||
// return response;
|
||||
// }
|
||||
//
|
||||
//
|
||||
// return response;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,7 +226,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||
m_log.DebugFormat("[VivoxVoice] plugin initialization failed: {0}", e.ToString());
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Called to indicate that the module has been added to the region
|
||||
@@ -1144,7 +1144,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||
// Otherwise prepare the request
|
||||
m_log.DebugFormat("[VivoxVoice] Sending request <{0}>", requrl);
|
||||
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(requrl);
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(requrl);
|
||||
HttpWebResponse rsp = null;
|
||||
|
||||
// We are sending just parameters, no content
|
||||
|
||||
@@ -477,7 +477,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||
foreach (string key in binBucketOSD.Keys)
|
||||
{
|
||||
m_log.WarnFormat("{0}: {1}", key, binBucketOSD[key].ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// treat as if no attachment
|
||||
|
||||
@@ -208,7 +208,7 @@ namespace OpenSim.Region.OptionalModules.ContentManagement
|
||||
// TODO: Let users in the sim and those entering it and possibly an external watchdog know what has happened
|
||||
m_log.ErrorFormat(
|
||||
"[CONTENT MANAGEMENT]: Content management thread terminating with exception. PLEASE REBOOT YOUR SIM - CONTENT MANAGEMENT WILL NOT BE AVAILABLE UNTIL YOU DO. Exception is {0}",
|
||||
e);
|
||||
e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ namespace OpenSim.Region.OptionalModules.ContentManagement
|
||||
{
|
||||
if (m_MetaEntityCollection.Auras.ContainsKey(((SceneObjectPart)missingPart).UUID))
|
||||
continue;
|
||||
newList.Add(m_MetaEntityCollection.CreateAuraForNewlyCreatedEntity((SceneObjectPart)missingPart));
|
||||
newList.Add(m_MetaEntityCollection.CreateAuraForNewlyCreatedEntity((SceneObjectPart)missingPart));
|
||||
}
|
||||
m_log.Info("Number of missing objects found: " + newList.Count);
|
||||
return newList;
|
||||
|
||||
@@ -136,7 +136,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
/// </exception>
|
||||
/// <returns>AppDomain with a restricted security policy</returns>
|
||||
/// <remarks>Substantial portions of this function from: http://blogs.msdn.com/shawnfa/archive/2004/10/25/247379.aspx
|
||||
/// Valid permissionSetName values are:
|
||||
/// Valid permissionSetName values are:
|
||||
/// * FullTrust
|
||||
/// * SkipVerification
|
||||
/// * Execution
|
||||
|
||||
@@ -117,7 +117,7 @@ namespace OpenSim.Region.Modules.SvnSerialiser
|
||||
public void LoadRegion(Scene scene)
|
||||
{
|
||||
IRegionSerialiserModule serialiser = scene.RequestModuleInterface<IRegionSerialiserModule>();
|
||||
if (serialiser != null)
|
||||
if (serialiser != null)
|
||||
{
|
||||
serialiser.LoadPrimsFromXml2(
|
||||
scene,
|
||||
|
||||
Reference in New Issue
Block a user