From 761fc9a682d924f55576d778909ffdc1cc6672c3 Mon Sep 17 00:00:00 2001 From: x99bachelart Date: Fri, 12 Sep 2003 18:49:12 +0000 Subject: [PATCH] bugfix --- include/NetNNTP.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/NetNNTP.inc.php b/include/NetNNTP.inc.php index 0b82fb0..8eafc5a 100644 --- a/include/NetNNTP.inc.php +++ b/include/NetNNTP.inc.php @@ -231,8 +231,8 @@ class nntp { $this->pline("GROUP $group\r\n"); $line = $this->gline(); if (substr($line,0,1)!="2") { - $this->lasterrorcode = substr($result,0,3); - $this->lasterrortext = substr($result,4); + $this->lasterrorcode = substr($line,0,3); + $this->lasterrortext = substr($line,4); return false; } if (preg_match("/^2\d{2} (\d+) (\d+) (\d+) ([^ ]+)/", -- 2.1.4