summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/main.go b/main.go
index e817bcc..8a6f2e5 100644
--- a/main.go
+++ b/main.go
@@ -13,10 +13,10 @@ func main() {
flag.Parse()
fmt.Printf("PASS len %d\n", len(*pass))
config := irc.ClientConfig{
- Nick: "watt",
+ Nick: "watbot",
Pass: *pass,
- User: "wat",
- Name: "wat",
+ User: "watbot",
+ Name: "watbot",
}
watConfig := wat.WatConfig{
PermittedChannels: []string{
@@ -28,9 +28,9 @@ func main() {
},
}
tcpConf := &tls.Config{
- InsecureSkipVerify: true,
+ InsecureSkipVerify: false,
}
- conn, err := tls.Dial("tcp", "127.0.0.1:6697", tcpConf)
+ conn, err := tls.Dial("tcp", "irc.casa:6697", tcpConf)
if err != nil {
fmt.Println("err " + err.Error())
return