about summary refs log tree commit diff stats
path: root/main.go
diff options
context:
space:
mode:
authorBenny Morrison <benmorrison@ttm.sh>2019-03-17 02:45:16 -0400
committerBenny Morrison <benmorrison@ttm.sh>2019-03-17 02:45:16 -0400
commitd0c2d7582f6c6e4a1c0f8688de6585b765f932b9 (patch)
tree31db897207f82d0091b30d00d9065d51b37ff718 /main.go
parentacbebf79f5307565cb9fc14155d822019397760a (diff)
downloadgoofbot-d0c2d7582f6c6e4a1c0f8688de6585b765f932b9.tar.gz
fixed a comment
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 160593f..3381dc4 100644
--- a/main.go
+++ b/main.go
@@ -56,7 +56,6 @@ func main() {
 		SSL:    conf.SSL,
 	})
 
-	// join startup channel
 	client.Handlers.Add(girc.CONNECTED, func(c *girc.Client, e girc.Event) {
 		//authenticate with nickserv if pass is set in config file
 		if conf.Pass != "" {
@@ -66,6 +65,7 @@ func main() {
 			c.Cmd.Message("nickserv", payload.String())
 			time.Sleep(500 * time.Millisecond)
 		}
+		//join initial channel specified in config.json
 		c.Cmd.Join(conf.Chan)
 	})