Fix crash when InputMessage is too large

This commit is contained in:
Eduardo Bart 2012-07-26 11:03:57 -03:00
parent 619305cc6d
commit 0a49f58e50
3 changed files with 2 additions and 2 deletions

View File

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

View File

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

View File

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