File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Client/mods/deathmatch/logic/luadefs Expand file tree Collapse file tree 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)
247247 if (!argStream.HasErrors ())
248248 {
249249 // 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://" )
251251 {
252- bool isLocalURL = strURL.substr (0 , 11 ) == " https ://mta/" ;
252+ bool isLocalURL = strURL.substr (0 , 11 ) == " http ://mta/" ;
253253 if (pWebBrowser->IsLocal () != isLocalURL)
254254 {
255255 lua_pushboolean (luaVM, false );
@@ -261,7 +261,7 @@ int CLuaBrowserDefs::LoadBrowserURL(lua_State* luaVM)
261261 }
262262 else
263263 {
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" );
265265 }
266266 }
267267
You can’t perform that action at this time.
0 commit comments