summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/atcommand.c3
-rw-r--r--src/map/clif.c2
2 files changed, 1 insertions, 4 deletions
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)