Skip to content

Commit db73f92

Browse files
committed
bot: set goirc client Timeout to 1min instead of default 0
1 parent 1bae065 commit db73f92

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bot/bot.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ func NewBotOptions(options ...Option) (Bot, error) {
5050
SplitLen: 450, // default is the same as goirc's unexported defaultLimit
5151
Proxy: "",
5252
Pass: "",
53+
Timeout: time.Minute,
5354
}
5455

5556
b := &botImpl{

0 commit comments

Comments
 (0)