From 1b7783f8e0b864d81c8ab7bb4d83cd2f789b0d48 Mon Sep 17 00:00:00 2001 From: auth12 <67507608+auth12@users.noreply.github.com> Date: Fri, 28 Aug 2020 17:02:54 +0100 Subject: Added version checks on server. Changed main thread behaviour. Fixed events bug where packet seq would get corrupted. Changed session packet behaviour. --- client/src/util/util.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'client/src/util/util.cpp') diff --git a/client/src/util/util.cpp b/client/src/util/util.cpp index 7103604..b78d616 100644 --- a/client/src/util/util.cpp +++ b/client/src/util/util.cpp @@ -39,11 +39,6 @@ std::wstring util::multibyte_to_wide(const std::string& str) { } bool util::close_handle(HANDLE handle) { - if (!handle) { - io::log_error("invalid handle to close."); - return false; - } - static auto nt_close = g_syscalls.get("NtClose"); auto status = nt_close(handle); -- cgit v1.2.3