MQL5: changed MQL5_DLLS_ALLOWED to MQL_DLLS_ALLOWED

This commit is contained in:
Viacheslav Demydiuk
2025-07-25 17:49:30 +03:00
parent 4a61ab079c
commit 78b4b7039b
2 changed files with 2 additions and 2 deletions
Regular → Executable
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -408,14 +408,14 @@ int init()
isCrashed = true;
return (1);
}
if (MQL5InfoInteger(MQL5_DLLS_ALLOWED) == false)
if (MQLInfoInteger(MQL_DLLS_ALLOWED) == false)
{
MessageBox("Libraries not allowed.", "MtApi", 0);
isCrashed = true;
return (1);
}
if (MQL5InfoInteger(MQL5_TRADE_ALLOWED) == false)
if (MQLInfoInteger(MQL_TRADE_ALLOWED) == false)
{
MessageBox("Trade not allowed.", "MtApi", 0);
isCrashed = true;