mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
very useless changes
This commit is contained in:
@@ -365,7 +365,7 @@ namespace OpenSim.Services.HypergridService
|
||||
}
|
||||
}
|
||||
|
||||
if (!String.IsNullOrWhiteSpace(m_DeniedMacs))
|
||||
if (!string.IsNullOrWhiteSpace(m_DeniedMacs))
|
||||
{
|
||||
//m_log.InfoFormat("[GATEKEEPER SERVICE]: Checking users Mac {0} against list of denied macs {1} ...", curMac, m_DeniedMacs);
|
||||
if (m_DeniedMacs.Contains(curMac, StringComparison.InvariantCultureIgnoreCase))
|
||||
|
||||
@@ -39,8 +39,8 @@ namespace OpenSim.Services.HypergridService
|
||||
public UserAgentServiceBase(IConfigSource config)
|
||||
: base(config)
|
||||
{
|
||||
string dllName = String.Empty;
|
||||
string connString = String.Empty;
|
||||
string dllName = string.Empty;
|
||||
string connString = string.Empty;
|
||||
string realm = "hg_traveling_data";
|
||||
|
||||
//
|
||||
@@ -50,9 +50,9 @@ namespace OpenSim.Services.HypergridService
|
||||
if (dbConfig is not null)
|
||||
{
|
||||
if (dllName.Length == 0)
|
||||
dllName = dbConfig.GetString("StorageProvider", String.Empty);
|
||||
dllName = dbConfig.GetString("StorageProvider", string.Empty);
|
||||
if (connString.Length == 0)
|
||||
connString = dbConfig.GetString("ConnectionString", String.Empty);
|
||||
connString = dbConfig.GetString("ConnectionString", string.Empty);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user