mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-28 07:27:09 +01:00
Various changes to the modules.
Also commited the remaining incomplete modules.
This commit is contained in:
1 parent
f2361a27c3
commit
40a2ba46f5
76 files changed
+21289
-98
No files matched your search
@@ -98,7 +98,7 @@ void OnSquirrelTerminate()
|
||||
OutputMessage("Terminating: %s", SQIRC_NAME);
|
||||
// Terminate all session and release script resources
|
||||
Session::Terminate();
|
||||
// Release the current database (if any)
|
||||
// Release the current virtual machine, if any
|
||||
DefaultVM::Set(nullptr);
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ Session::Sessions Session::s_Sessions;
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
SQInteger Session::Typename(HSQUIRRELVM vm)
|
||||
{
|
||||
static SQChar name[] = _SC("SqIrcSession");
|
||||
static const SQChar name[] = _SC("SqIrcSession");
|
||||
sq_pushstring(vm, name, sizeof(name));
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user