set debuglevel to 0; it's annoying otherwise
This commit is contained in:
parent
de8d94d979
commit
e926490e30
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ class NNTP
|
||||||
CRLF = "\r\n"
|
CRLF = "\r\n"
|
||||||
|
|
||||||
def initialize(host, port=NNTP_PORT, user=nil, password=nil, readermode=nil)
|
def initialize(host, port=NNTP_PORT, user=nil, password=nil, readermode=nil)
|
||||||
@debuglevel = 2
|
@debuglevel = 0
|
||||||
@host = host
|
@host = host
|
||||||
if port then @port = port else @port = NNTP_PORT end
|
if port then @port = port else @port = NNTP_PORT end
|
||||||
@socket = TCPSocket.new @host, @port
|
@socket = TCPSocket.new @host, @port
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue