mirror of https://github.com/fluffle/goirc
Fix due to logging api change change.
This commit is contained in:
parent
c7809b90e4
commit
aa021c7cac
|
@ -65,7 +65,7 @@ type Conn struct {
|
||||||
// that you can add event handlers to it. See AddHandler() for details.
|
// that you can add event handlers to it. See AddHandler() for details.
|
||||||
func SimpleClient(nick string, args ...string) *Conn {
|
func SimpleClient(nick string, args ...string) *Conn {
|
||||||
r := event.NewRegistry()
|
r := event.NewRegistry()
|
||||||
l := logging.DefaultLogger
|
l := logging.InitFromFlags()
|
||||||
ident := "goirc"
|
ident := "goirc"
|
||||||
name := "Powered by GoIRC"
|
name := "Powered by GoIRC"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue