that's a string, not an array

This commit is contained in:
Ward Wouts 2002-08-08 08:01:10 +00:00
parent 69e01eb87c
commit 76afa63db9

View file

@ -118,7 +118,7 @@ class NNTP
while true
line = getline
break if line == '.'
line.delete_at(0) if line.to_s[0...2] == '..'
line.slice!0) if line.to_s[0...2] == '..'
list << line
end
return resp, list