mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-08-03 06:17:10 +02:00
Fix issue with modules not registering their API.
This commit is contained in:
@@ -35,13 +35,13 @@ static bool RegisterAPI()
|
||||
return false;
|
||||
}
|
||||
|
||||
Table ircns;
|
||||
Table ircns(DefaultVM::Get());
|
||||
|
||||
Register_Common(ircns);
|
||||
Register_Session(ircns);
|
||||
Register_Constants(ircns);
|
||||
|
||||
RootTable().Bind(_SC("SqIRC"), ircns);
|
||||
RootTable(DefaultVM::Get()).Bind(_SC("SqIRC"), ircns);
|
||||
|
||||
// Registration was successful
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user