1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-15 22:57:12 +02:00

Introduce a new module event to be called after the virtual machine was destroyed. Thus, preventing the release of the virtual machine while still in use.

Prevent releasing IRC sessions while they could still be in use.
Few other changes that had to be committed because of the change in the module API.
This commit is contained in:
Sandu Liviu Catalin
2016-06-26 16:18:23 +03:00
parent 2ee475bb8d
commit 996c078105
11 changed files with 94 additions and 158 deletions

View File

@ -58,6 +58,7 @@ extern "C" {
#define SQMOD_INITIALIZE_CMD 0xDABBAD00
#define SQMOD_LOAD_CMD 0xDEADBABE
#define SQMOD_TERMINATE_CMD 0xDEADC0DE
#define SQMOD_RELEASED_CMD 0xDEADBEAF
#define SQMOD_API_VER 1
//primitive functions