Fix crash when InputMessage is too large

master
Eduardo Bart 12 years ago
parent 619305cc6d
commit 0a49f58e50

@ -4,5 +4,6 @@ Module
author: edubart
website: www.otclient.info
scripts: [ shaders.lua ]
sandboxed: true
@onLoad: init()
@onUnload: terminate()

@ -5,4 +5,3 @@ Module
sandboxed: true
scripts: [tibiafiles.lua]
@onLoad: init()
@onUnload: terminate()

@ -31,7 +31,7 @@ class InputMessage : public LuaObject
{
public:
enum {
BUFFER_MAXSIZE = 16384,
BUFFER_MAXSIZE = 65536,
MAX_HEADER_SIZE = 8
};

Loading…
Cancel
Save