mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-11 08:07:11 +02:00
Fix issue with modules not registering their API.
This commit is contained in:
1 parent
66d1110733
commit
9874bbe1dc
7 files changed
+31
-30
No files matched your search
@@ -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