mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-19 16:47:14 +02:00
Fix issue with modules not registering their API.
This commit is contained in:
@ -30,7 +30,7 @@ static bool RegisterAPI()
|
||||
return false;
|
||||
}
|
||||
|
||||
Table sqlns;
|
||||
Table sqlns(DefaultVM::Get());
|
||||
|
||||
Register_Constants(sqlns);
|
||||
Register_Common(sqlns);
|
||||
@ -40,7 +40,7 @@ static bool RegisterAPI()
|
||||
Register_Column(sqlns);
|
||||
Register_Transaction(sqlns);
|
||||
|
||||
RootTable().Bind(_SC("SQLite"), sqlns);
|
||||
RootTable(DefaultVM::Get()).Bind(_SC("SQLite"), sqlns);
|
||||
|
||||
// Registration was successful
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user