diff options
author | Pratyush Desai | 2023-10-04 13:18:16 +0530 |
---|---|---|
committer | Pratyush Desai | 2023-10-04 13:18:16 +0530 |
commit | d701d1604e1264ed3e3c4a60643c4a18b969d049 (patch) | |
tree | 8a2c2a46e955c8a14017d2af964f23b59712f4ee /main.go | |
parent | dd3a079d62f6d702efa066a1d47cf5129b281e16 (diff) | |
download | watbot-d701d1604e1264ed3e3c4a60643c4a18b969d049.tar.gz watbot-d701d1604e1264ed3e3c4a60643c4a18b969d049.tar.bz2 watbot-d701d1604e1264ed3e3c4a60643c4a18b969d049.zip |
runs in a container in a pod
Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |