1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-19 03:57:14 +01:00

Update the MaxmindDB module to comply with the new StackStrF changes.

This commit is contained in:
Sandu Liviu Catalin 2018-07-30 01:10:35 +03:00
parent 53564d6136
commit a75f87b77c
2 changed files with 4 additions and 4 deletions

View File

@ -132,9 +132,9 @@ SQInteger LookupResult::GetValue(HSQUIRRELVM vm)
// Extract each argument as a string
for (SQInteger i = 2; i <= top; ++i)
{
arglist.emplace_back(vm, i, false);
arglist.emplace_back(vm, i);
// Did we fail to extract the argument value?
if (SQ_FAILED(arglist.back().mRes))
if (SQ_FAILED(arglist.back().Proc(false)))
{
return arglist.back().mRes; // Propagate the error
}

View File

@ -138,9 +138,9 @@ SQInteger SearchNode::GetRecordEntryData(HSQUIRRELVM vm, bool right)
// Extract each argument as a string
for (SQInteger i = 2; i <= top; ++i)
{
arglist.emplace_back(vm, i, false);
arglist.emplace_back(vm, i);
// Did we fail to extract the argument value?
if (SQ_FAILED(arglist.back().mRes))
if (SQ_FAILED(arglist.back().Proc(false)))
{
return arglist.back().mRes; // Propagate the error
}