mirror of https://github.com/fluffle/goirc
Oops, timeouts are int64 nanoseconds.
This commit is contained in:
parent
5027646478
commit
9748f9c47e
|
@ -41,7 +41,7 @@ type Conn struct {
|
||||||
SSLConfig *tls.Config
|
SSLConfig *tls.Config
|
||||||
|
|
||||||
// Socket timeout, in seconds. Defaulted to 5m in New().
|
// Socket timeout, in seconds. Defaulted to 5m in New().
|
||||||
Timeout int
|
Timeout int64
|
||||||
|
|
||||||
// Set this to true to disable flood protection and false to re-enable
|
// Set this to true to disable flood protection and false to re-enable
|
||||||
Flood bool
|
Flood bool
|
||||||
|
|
Loading…
Reference in New Issue