master
Chris 2021-01-18 23:35:45 +01:00
parent 21a10b9382
commit 6a4bd9a044
1 changed files with 11 additions and 1 deletions

View File

@ -209,7 +209,7 @@ namespace OpenSim.Modules.Currency
private int m_hg_avatarClass = (int)AvatarType.HG_AVATAR;
private NSLCertificateVerify m_certVerify = new NSLCertificateVerify(); // サーバ認証用
private NSLCertificateVerify m_certVerify = null;
/// <summary>
@ -253,6 +253,16 @@ namespace OpenSim.Modules.Currency
/// <param name="source"></param>
public void Initialise(Scene scene, IConfigSource source)
{
try
{
m_certVerify = new NSLCertificateVerify(); // サーバ認証用
}catch(Exception error)
{
m_log.Error("[MoneyModule] " + error.Message);
m_log.Error("[MoneyModule] " + error.StackTrace);
}
Initialise(source);
if (string.IsNullOrEmpty(m_moneyServURL)) m_enable_server = false;
//