Fixed server crash

This commit is contained in:
Shoghi Cervantes Pueyo 2013-01-26 16:23:33 +01:00
parent 20035d18cd
commit 59a95aadd2

View File

@ -95,6 +95,9 @@ class Utils extends Thread{
}
public static function printable($str){
if(!is_string($str)){
return gettype($str);
}
return preg_replace('#([^\x20-\x7E])#', '.', $str);
}