X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Bots%2FCGod.class.php;h=40a466f2519119a1e75c9517a0c1e1218076ac67;hp=a0227eb5e8e905aba54bed402d766df552e3f0af;hb=204044c5fd8633432b2b2a28dededca53a27bb75;hpb=5ac7e3d6d087207bf85ea4cf199ca7726ee78ff0 diff --git a/Bots/CGod.class.php b/Bots/CGod.class.php index a0227eb..40a466f 100644 --- a/Bots/CGod.class.php +++ b/Bots/CGod.class.php @@ -100,6 +100,7 @@ class {$_NAME} extends Bot { $lines=explode("\n",$err); $i=0; foreach($lines as $line) { + if($line == "") continue; $i++; if($i>100) { $this->uplink->privmsg($this->c, $entry['channel'], "too many lines!"); @@ -147,6 +148,7 @@ class {$_NAME} extends Bot { $lines=explode("\n",$out); $i=0; foreach($lines as $line) { + if($line == "") continue; $i++; if($i>1000) { $this->uplink->privmsg($this->c, $c['channel'], "too many lines!"); @@ -160,6 +162,7 @@ class {$_NAME} extends Bot { $lines=explode("\n",$eout); $i=0; foreach($lines as $line) { + if($line == "") continue; $i++; if($i>1000) { $this->uplink->privmsg($this->c, $c['channel'], "too many lines!");