Merge branch 'master' of https://github.com/danog/Madelineproto
This commit is contained in:
commit
9f974cbaaa
@ -76,6 +76,7 @@ class Logger
|
||||
|
||||
return $d;
|
||||
}
|
||||
|
||||
public static function log($params, $level = self::NOTICE)
|
||||
{
|
||||
if (!self::$constructed) {
|
||||
|
@ -298,7 +298,9 @@ trait TL
|
||||
|
||||
return $concat;
|
||||
case 'bytes':
|
||||
if (is_array($object)) $object = pack('C*', ...$object);
|
||||
if (is_array($object)) {
|
||||
$object = pack('C*', ...$object);
|
||||
}
|
||||
$l = strlen($object);
|
||||
$concat = '';
|
||||
if ($l <= 253) {
|
||||
|
Loading…
Reference in New Issue
Block a user