Quieting down the console

This commit is contained in:
Chris Sexton 2012-08-26 21:54:27 -04:00
parent 273b41fa3f
commit 0970ee980f
2 changed files with 0 additions and 2 deletions

View File

@ -195,7 +195,6 @@ func (b *Bot) Filter(message Message, input string) string {
blacklist := make(map[string]bool) blacklist := make(map[string]bool)
blacklist["$and"] = true blacklist["$and"] = true
for len(varname) > 0 && !blacklist[varname] { for len(varname) > 0 && !blacklist[varname] {
fmt.Printf("Trying to match '%s'\n", varname)
var result []Variable var result []Variable
b.varColl.Find(bson.M{"variable": varname}).All(&result) b.varColl.Find(bson.M{"variable": varname}).All(&result)
if len(result) == 0 { if len(result) == 0 {

View File

@ -179,7 +179,6 @@ func (p *BeersPlugin) reportCount(nick, channel string, himself bool) {
} }
} }
p.Bot.SendMessage(channel, msg) p.Bot.SendMessage(channel, msg)
fmt.Println("I should have reported a beer count!")
} }
func (p *BeersPlugin) puke(user *bot.User, channel string) { func (p *BeersPlugin) puke(user *bot.User, channel string) {