1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-09-06 00:43:20 +00:00

Fix up half-arsed logging shims; set depth.

This commit is contained in:
Alex Bramley 2015-01-02 14:35:03 +00:00
parent a3debed539
commit d1162c0f7b
3 changed files with 37 additions and 8 deletions

View file

@ -5,6 +5,7 @@ import (
"flag"
"fmt"
irc "github.com/fluffle/goirc/client"
"github.com/fluffle/goirc/logging/glog"
"os"
"strings"
)
@ -14,6 +15,7 @@ var channel *string = flag.String("channel", "#go-nuts", "IRC channel")
func main() {
flag.Parse()
glog.Init()
// create new IRC connection
c := irc.SimpleClient("GoTest", "gotest")