@@ -25,7 +25,7 @@ static tGlobalConfigurationNumericOption GlobalOptionsTable [] = {
25
25
{ GLB_OPT (m_bConfirmBeforeSavingVariables ), " ConfirmBeforeSavingVariables" , 1 },
26
26
{ GLB_OPT (m_bConfirmLogFileClose ), " ConfirmLogFileClose" , 1 },
27
27
{ GLB_OPT (m_bEnableSpellCheck ), " EnableSpellCheck" , 1 },
28
- { GLB_OPT (m_bEnablePackageLibrary ), " AllowLoadingDlls" , 0 },
28
+ { GLB_OPT (m_bEnablePackageLibrary ), " AllowLoadingDlls" , 1 },
29
29
{ GLB_OPT (m_bF1macro ), " F1macro" , 0 },
30
30
{ GLB_OPT (m_bFixedFontForEditing ), " FixedFontForEditing" , 1 },
31
31
{ GLB_OPT (m_bNotepadWordWrap ), " NotepadWordWrap" , 1 },
@@ -200,6 +200,7 @@ void CMUSHclientApp::LoadGlobalsFromDatabase (void)
200
200
if (m_strLuaScript.IsEmpty ())
201
201
{
202
202
203
+ /*
203
204
HRSRC hRsrc;
204
205
HGLOBAL hRsrc_text = NULL;
205
206
const char * p = NULL;
@@ -222,7 +223,12 @@ void CMUSHclientApp::LoadGlobalsFromDatabase (void)
222
223
m_strLuaScript = CString (p, iLength);
223
224
else
224
225
m_strLuaScript = "-- Lua initialization could not be loaded";
225
- }
226
+ */
227
+ m_strLuaScript = " -- Put Lua initialization code (eg. sandbox) here.\r\n "
228
+ " -- Possible sandbox here: http://mushclient.com/forum/?id=7344\r\n " ;
229
+ } // end of no sandbox
230
+
231
+
226
232
227
233
} // end of CMUSHclientApp::LoadGlobalsFromDatabase
228
234
0 commit comments