kunt

golang IRC bot
git clone git://git.2f30.org/kunt.git
Log | Files | Refs | LICENSE

commit cdcb367aba9d786d833d4153987fdb3c46172dee
parent 181af591ba7642c729c5a8439e367695eec8319c
Author: sin <sin@2f30.org>
Date:   Thu May 30 12:01:45 +0100

rename tls field to ssl

Diffstat:
src/irc/irc.go | 4++--
src/kunt/kunt.go | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/irc/irc.go b/src/irc/irc.go @@ -32,7 +32,7 @@ type Config struct { Pass string // password Serv string // server address Port string // server port - Tls bool // enable/disable ssl + Ssl bool // enable/disable ssl Ipv6 bool // enable/disable ipv6 (not implemented) } @@ -65,7 +65,7 @@ func NewIrcContext(ircConfig Config) *Context { pass: ircConfig.Pass, serv: ircConfig.Serv, port: ircConfig.Port, - tls: ircConfig.Tls, + tls: ircConfig.Ssl, ipv6: ircConfig.Ipv6, channels: make([]Channel, 0), } diff --git a/src/kunt/kunt.go b/src/kunt/kunt.go @@ -403,7 +403,7 @@ func main() { RealName: botname, Serv: hostport[0], Port: hostport[1], - Tls: *sslon, + Ssl: *sslon, } kunt.ircCtx = irc.NewIrcContext(cfg)