From 3f9e0f0659df5e243943cf00112794ea32bfdab4 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 25 Jun 2012 15:40:16 +0000
Subject: [PATCH] Poprawka błędnego zliczania postępu przy pobieraniu kanałów telewizyjnych.

---
 class/BotUser.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/class/BotUser.php b/class/BotUser.php
index 0040e3a..1326f8c 100644
--- a/class/BotUser.php
+++ b/class/BotUser.php
@@ -51,12 +51,12 @@
 		$this->interface = $data['scheme'];
 		$this->uid = strtr($data['user'], array('\\@' => '@'));
 		$this->network = $data['host'];
-		$this->bot = substr($data['path'], 1);
-		$this->params = $data['query'];
+		$this->bot = substr(@$data['path'], 1);
+		$this->params = @$data['query'];
 	}
 	
 	function __get($name) {
 		return $this->$name;
 	}
 }
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1