kunt

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

commit 96b801ae47c442691635467f2607d3e11e4b8267
parent 88606e76531ffb55531fefcf968dce4a0c0f6b6c
Author: sin <sin@2f30.org>
Date:   Fri,  3 May 2013 12:55:55 +0100

update to new style init

Diffstat:
Msrc/kunt/kunt.go | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/kunt/kunt.go b/src/kunt/kunt.go @@ -359,12 +359,12 @@ func main() { } cfg := irc.IrcConfig{ - irc.Network: "grnet", - irc.Nick: botname, - irc.User: "z0mg", - irc.Serv: hostport[0], - irc.Port: hostport[1], - irc.Tls: *sslon, + Network: "grnet", + Nick: botname, + User: "z0mg", + Serv: hostport[0], + Port: hostport[1], + Tls: *sslon, } kunt.ircCtx = irc.NewIrcContext(cfg)