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
|
||||
|
||||
// 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
|
||||
Flood bool
|
||||
|
|
Loading…
Reference in New Issue