summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authormogad0n2021-03-10 19:33:48 +0530
committermogad0n2021-03-10 19:33:48 +0530
commit379891b2d09ced1187df3226f8693d39b64e36e2 (patch)
tree03b58f4245e16c2d6667acee5920bbc42babe01e /main.go
parent85ff6578e812248367b75c574e55dd19ec472087 (diff)
downloadwatbot-379891b2d09ced1187df3226f8693d39b64e36e2.tar.gz
watbot-379891b2d09ced1187df3226f8693d39b64e36e2.tar.bz2
watbot-379891b2d09ced1187df3226f8693d39b64e36e2.zip
initial commit
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/main.go b/main.go
index e83f017..e817bcc 100644
--- a/main.go
+++ b/main.go
@@ -15,15 +15,13 @@ func main() {
config := irc.ClientConfig{
Nick: "watt",
Pass: *pass,
- User: "wat/tripsit",
+ User: "wat",
Name: "wat",
}
watConfig := wat.WatConfig{
PermittedChannels: []string{
- "##wat",
- "##test",
- "##sweden",
- "##freedom",
+ "#lucy",
+ "#sweden",
},
IgnoredHosts: []string{
"tripsit/user/creatonez",
@@ -32,7 +30,7 @@ func main() {
tcpConf := &tls.Config{
InsecureSkipVerify: true,
}
- conn, err := tls.Dial("tcp", "127.0.0.1:9696", tcpConf)
+ conn, err := tls.Dial("tcp", "127.0.0.1:6697", tcpConf)
if err != nil {
fmt.Println("err " + err.Error())
return