diff --git a/include/modules/serversecure.lua b/include/modules/serversecure.lua index bd06b59..28ed04e 100644 --- a/include/modules/serversecure.lua +++ b/include/modules/serversecure.lua @@ -2,8 +2,8 @@ require("serversecure.core") local format, match, band, rshift = string.format, string.match, bit.band, bit.rshift -serversecure.Version = "serversecure 1.5.20" -serversecure.VersionNum = 10520 +serversecure.Version = "serversecure 1.5.21" +serversecure.VersionNum = 10521 function serversecure.IPToString(uint) if not uint then diff --git a/source/filecheck.cpp b/source/filecheck.cpp index bafee67..7114edb 100644 --- a/source/filecheck.cpp +++ b/source/filecheck.cpp @@ -175,7 +175,7 @@ namespace filecheck INetworkStringTableContainer *networkstringtable = global::engine_loader.GetInterface( INTERFACENAME_NETWORKSTRINGTABLESERVER - ); + ); if( networkstringtable == nullptr ) LUA->ThrowError( "unable to get INetworkStringTableContainer" ); @@ -189,6 +189,6 @@ namespace filecheck void Deinitialize( GarrysMod::Lua::ILuaBase * ) { - hook.Disable( ); + hook.Destroy( ); } }