mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-06-17 14:12:25 +00:00
another nice fix
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
#include "Client.h"
|
#include "Client.h"
|
||||||
#include "TLuaEngine.h"
|
#include "TLuaEngine.h"
|
||||||
|
|
||||||
static std::string LuaToString(const sol::object& Value, size_t Indent = 1) {
|
static std::string LuaToString(sol::object Value, size_t Indent = 1) {
|
||||||
switch (Value.get_type()) {
|
switch (Value.get_type()) {
|
||||||
case sol::type::userdata: {
|
case sol::type::userdata: {
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
|
|||||||
+1
-1
@@ -162,7 +162,7 @@ void TNetwork::TCPServerMain() {
|
|||||||
|
|
||||||
CloseSocketProper(client.Socket);
|
CloseSocketProper(client.Socket);
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
CloseSocketProper(client);
|
CloseSocketProper(client.Socket);
|
||||||
WSACleanup();
|
WSACleanup();
|
||||||
#endif // WIN32
|
#endif // WIN32
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user