mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Formatting cleanup.
This commit is contained in:
@@ -404,7 +404,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat
|
||||
|
||||
private bool IsAConnectionMatchFor(ChannelState cs)
|
||||
{
|
||||
return (
|
||||
return (
|
||||
Server == cs.Server &&
|
||||
IrcChannel == cs.IrcChannel &&
|
||||
Port == cs.Port &&
|
||||
@@ -419,7 +419,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat
|
||||
|
||||
private bool IsAPerfectMatchFor(ChannelState cs)
|
||||
{
|
||||
return ( IsAConnectionMatchFor(cs) &&
|
||||
return (IsAConnectionMatchFor(cs) &&
|
||||
RelayChannelOut == cs.RelayChannelOut &&
|
||||
PrivateMessageFormat == cs.PrivateMessageFormat &&
|
||||
NoticeMessageFormat == cs.NoticeMessageFormat &&
|
||||
@@ -598,7 +598,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat
|
||||
{
|
||||
foreach (ChannelState cs in IRCBridgeModule.m_channels)
|
||||
{
|
||||
if ( p_irc == cs.irc)
|
||||
if (p_irc == cs.irc)
|
||||
{
|
||||
|
||||
// This non-IRC differentiator moved to here
|
||||
|
||||
@@ -147,7 +147,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
response["content_type"] = "text/xml";
|
||||
response["keepalive"] = false;
|
||||
response["int_response_code"] = 200;
|
||||
response["str_response_string"] = String.Format(
|
||||
response["str_response_string"] = String.Format(
|
||||
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n" +
|
||||
"<document type=\"freeswitch/xml\">\r\n" +
|
||||
"<section name=\"directory\" description=\"User Directory\">\r\n" +
|
||||
@@ -184,7 +184,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
response["content_type"] = "text/xml";
|
||||
response["keepalive"] = false;
|
||||
response["int_response_code"] = 200;
|
||||
response["str_response_string"] = String.Format(
|
||||
response["str_response_string"] = String.Format(
|
||||
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n" +
|
||||
"<document type=\"freeswitch/xml\">\r\n" +
|
||||
"<section name=\"directory\" description=\"User Directory\">\r\n" +
|
||||
@@ -230,7 +230,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
response["content_type"] = "text/xml";
|
||||
response["keepalive"] = false;
|
||||
response["int_response_code"] = 200;
|
||||
response["str_response_string"] = String.Format(
|
||||
response["str_response_string"] = String.Format(
|
||||
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n" +
|
||||
"<document type=\"freeswitch/xml\">\r\n" +
|
||||
"<section name=\"directory\" description=\"User Directory\">\r\n" +
|
||||
@@ -263,7 +263,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
response["content_type"] = "text/xml";
|
||||
response["keepalive"] = false;
|
||||
response["int_response_code"] = 200;
|
||||
response["str_response_string"] = String.Format(
|
||||
response["str_response_string"] = String.Format(
|
||||
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n" +
|
||||
"<document type=\"freeswitch/xml\">\r\n" +
|
||||
"<section name=\"directory\" description=\"User Directory\">\r\n" +
|
||||
@@ -317,7 +317,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
// response["content_type"] = "text/xml";
|
||||
// response["keepalive"] = false;
|
||||
// response["int_response_code"] = 200;
|
||||
// response["str_response_string"] = String.Format(
|
||||
// response["str_response_string"] = String.Format(
|
||||
// "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n" +
|
||||
// "<document type=\"freeswitch/xml\">\r\n" +
|
||||
// "<section name=\"directory\" description=\"User Directory\">\r\n" +
|
||||
|
||||
@@ -556,7 +556,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
response["content_type"] = "text/xml";
|
||||
response["keepalive"] = false;
|
||||
|
||||
response["str_response_string"] = String.Format(
|
||||
response["str_response_string"] = String.Format(
|
||||
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n" +
|
||||
"<VCConfiguration>\r\n"+
|
||||
"<DefaultRealm>{0}</DefaultRealm>\r\n" +
|
||||
|
||||
@@ -1234,7 +1234,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||
// UDP version doesn't seem to behave nicely. But we're going to send it out here
|
||||
// with an empty group membership to hopefully remove groups being displayed due
|
||||
// to the core Groups Stub
|
||||
remoteClient.SendGroupMembership( new GroupMembershipData[0] );
|
||||
remoteClient.SendGroupMembership(new GroupMembershipData[0]);
|
||||
|
||||
GroupMembershipData[] membershipData = m_groupData.GetAgentGroupMemberships(GetClientGroupRequestID(remoteClient), dataForAgentID).ToArray();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user