limit to chat line lenght
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sat, 3 May 2008 16:14:18 +0000 (16:14 +0000)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sat, 3 May 2008 16:14:18 +0000 (16:14 +0000)
web/Obj/brisk.phh

index a9e8f84..f29b9a7 100644 (file)
@@ -1272,7 +1272,7 @@ class Room {
     $only_you = FALSE;
     
     // common settings
-    $msg = substr($mesg,6);
+    $msg = substr($mesg, 6, 128);
     $timecur = time();
     $dt = date("H:i ", $timecur);