mirror of https://github.com/opensim/opensim.git
more code stype changes
This commit is contained in:
parent
fddb3761a0
commit
523f7cc1dc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue