From e4c755faaae58235a5ba57b4761d982547c9c6c8 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Fri, 24 Aug 2012 21:58:30 -0400 Subject: [PATCH] Made the bot a bit less verbose (axed some debug printing) --- bot/handlers.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/bot/handlers.go b/bot/handlers.go index fe81a48..67ee387 100644 --- a/bot/handlers.go +++ b/bot/handlers.go @@ -24,7 +24,6 @@ func (b *Bot) checkuser(nick string) *User { } } if user == nil { - fmt.Println("Making a new user") user = &User{ Name: nick, Alts: make([]string, 1), @@ -68,7 +67,6 @@ func (b *Bot) isCmd(message string) (bool, string) { iscmd := false if strings.HasPrefix(message, cmdc) && len(cmdc) > 0 { - fmt.Println("Got a commandchar prefix") iscmd = true message = message[len(cmdc):] } else if strings.HasPrefix(message, botnick) { @@ -123,7 +121,6 @@ func (b *Bot) MsgRecieved(conn *irc.Conn, line *irc.Line) { Command: iscmd, Action: isaction, } - fmt.Printf("%#v said %#v\n", user, msg) for _, p := range b.Plugins { if p.Message(msg) { break