You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLuaCFunctions::AddFunction( pair.first, [](lua_State* luaVM) -> int {
67
-
// Show message box eventually
68
-
staticbool messageBoxShown = false;
69
-
if ( !messageBoxShown )
70
-
{
71
-
g_pCore->ShowMessageBox(_("Unsupported OS"),
72
-
_("This server uses browser functions that are not supported on your PC. If you click OK, you are aware that your PC is vulnerable to malware and will most likely join a botnet soon"),
73
-
MB_BUTTON_OK | MB_ICON_WARNING);
74
-
75
-
messageBoxShown = true;
76
-
}
77
-
78
-
g_pCore->DebugPrintfColor ( "Called browser function on unsupported, vulnerable operating system. Please upgrade your OS as soon as possible", 255, 0, 0 );
0 commit comments