mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-09-16 09:17:17 +02:00
Various changes to the modules.
Also commited the remaining incomplete modules.
This commit is contained in:
@@ -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