From 779694a768bca0d5ea066cc626a8656cd7407bcf Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 09 Jul 2012 17:50:31 +0000
Subject: [PATCH] Przeportowanie moduĊ‚u synonimy do nowej wersji API

---
 class/BotMsgGG.php |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/class/BotMsgGG.php b/class/BotMsgGG.php
index 4ab34a1..ffd9106 100644
--- a/class/BotMsgGG.php
+++ b/class/BotMsgGG.php
@@ -59,9 +59,6 @@
 		else
 		{
 			$image = '';
-			foreach($this->images as $img) {
-				$image .= $img[2];
-			}
 		}
 		
 		$format = $this->getFormat();
@@ -316,10 +313,9 @@
 			}
 			
 			$node->setAttribute('name', $name);
-			$this->img .= $name.file_get_contents($src);
+			$this->img = $name.file_get_contents($src);
 			
-			$this->format .= pack('vC', mb_strlen($this->old), self::FORMAT_IMAGE/*|$this->f_type*/)
-			//		//.$this->f_color
+			$this->format .= pack('vC', mb_strlen($this->old), self::FORMAT_IMAGE)
 					.pack('CCVV', 0x09, 0x01, $size, hexdec($crc));
 		}
 	}

--
Gitblit v1.9.1