File tree 1 file changed +3
-3
lines changed
Client/mods/deathmatch/logic/luadefs
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -247,9 +247,9 @@ int CLuaBrowserDefs::LoadBrowserURL(lua_State* luaVM)
247
247
if (!argStream.HasErrors ())
248
248
{
249
249
// Are we dealing with a remote website?
250
- if (strURL.substr (0 , 7 ) == " https ://" || strURL.substr (0 , 8 ) == " https://" )
250
+ if (strURL.substr (0 , 7 ) == " http ://" || strURL.substr (0 , 8 ) == " https://" )
251
251
{
252
- bool isLocalURL = strURL.substr (0 , 11 ) == " https ://mta/" ;
252
+ bool isLocalURL = strURL.substr (0 , 11 ) == " http ://mta/" ;
253
253
if (pWebBrowser->IsLocal () != isLocalURL)
254
254
{
255
255
lua_pushboolean (luaVM, false );
@@ -261,7 +261,7 @@ int CLuaBrowserDefs::LoadBrowserURL(lua_State* luaVM)
261
261
}
262
262
else
263
263
{
264
- argStream.SetCustomError (" Invalid URL scheme provided. Only https :// and https:// is supported." , " Invalid parameter" );
264
+ argStream.SetCustomError (" Invalid URL scheme provided. Only http :// and https:// is supported." , " Invalid parameter" );
265
265
}
266
266
}
267
267
You can’t perform that action at this time.
0 commit comments