diff options
-rw-r--r-- | config.json | 4 | ||||
-rw-r--r-- | main.go | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/config.json b/config.json index e6954d2..8de5649 100644 --- a/config.json +++ b/config.json @@ -2,10 +2,10 @@ "owner": "ahriman", "chan": "#goofbot", "server": "irc.tilde.chat", - "port": "6697", + "port": 6697, "nick": "goofbot", "user": "goofbot", "name": "Goofus McBotus", "out": "os.Stdout", - "ssl": "true" + "ssl": true } diff --git a/main.go b/main.go index bea20ed..2eee1ce 100644 --- a/main.go +++ b/main.go @@ -3,9 +3,9 @@ package main import ( "bytes" "encoding/json" - "io" "io/ioutil" "log" + "os" "os/exec" "strings" "time" @@ -27,7 +27,6 @@ type Conf struct { Nick string User string Name string - Out io.Writer SSL bool } @@ -48,7 +47,7 @@ func main() { Nick: conf.Nick, User: conf.User, Name: conf.Name, - Out: conf.Out, + Out: os.Stdout, SSL: conf.SSL, }) |