class/BotMsgGG.php
@@ -115,7 +115,13 @@ * @return string */ function getFormat() { return pack('Cv', 0x02, strlen($this->format)).$this->format; if($this->format == '') { return ''; } else { return pack('Cv', 0x02, strlen($this->format)).$this->format; } } /** @@ -126,10 +132,6 @@ echo $this->getGG(); } private function rewriteOne($node, $saveto) { } private function rewrite($dom, $saveto, $top = TRUE) { if(!($dom instanceof DOMElement)) { throw new BotMsgException('Nieznany element DOM: '.get_class($dom));