From 71dd293413d357f54869f87cb26455e6d07258bd Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 20 Apr 2006 19:42:54 +0000 Subject: - Raised the buffer size in clif_MainChatMessage to 200, removed the message length in atcommand_main. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6197 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 3 --- src/map/clif.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src/map') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index b10d4b6c1..e0b066d66 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -10110,9 +10110,6 @@ int atcommand_main( { if(strlen(message) > 0) { - if(strlen(message) > 128) - return -1; - if(strcmpi(message, "on") == 0) { if(!sd->state.mainchat) { sd->state.mainchat = 1; diff --git a/src/map/clif.c b/src/map/clif.c index 0a73e03f4..6e01d7fed 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -4802,7 +4802,7 @@ void clif_GlobalMessage(struct block_list *bl,char *message) */ void clif_MainChatMessage(char* message) { - char buf[128]; + char buf[200]; int len; if(!message) -- cgit v1.2.3-70-g09d2