mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
more code stype changes
This commit is contained in:
@@ -115,7 +115,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||
m_accessIP = new HashSet<string>();
|
||||
if (accessIP != String.Empty)
|
||||
{
|
||||
string[] ips = accessIP.Split(new char[] { ',' });
|
||||
string[] ips = accessIP.Split(Util.SplitCommaArray);
|
||||
foreach (string ip in ips)
|
||||
{
|
||||
string current = ip.Trim();
|
||||
@@ -305,7 +305,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||
|
||||
if (requestData.ContainsKey("alerts"))
|
||||
{
|
||||
string[] alertTimes = requestData["alerts"].ToString().Split( new char[] {','});
|
||||
string[] alertTimes = requestData["alerts"].ToString().Split(Util.SplitCommaArray);
|
||||
if (alertTimes.Length == 1 && Convert.ToInt32(alertTimes[0]) == -1)
|
||||
{
|
||||
m_log.Info("[RADMIN]: Request to cancel restart.");
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -824,7 +824,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||
string[] parts = im.fromAgentName.Split(new char[] { '@' });
|
||||
if (parts.Length == 2)
|
||||
{
|
||||
string[] fl = parts[0].Trim().Split(new char[] { '.' });
|
||||
string[] fl = parts[0].Trim().Split(Util.SplitDotArray);
|
||||
if (fl.Length == 2)
|
||||
m_uMan.AddUser(new UUID(im.fromAgentID), fl[0], fl[1], "http://" + parts[1]);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user