Made the bot a bit less verbose (axed some debug printing)

This commit is contained in:
Chris Sexton 2012-08-24 21:58:30 -04:00
parent c8bc3a6034
commit e4c755faaa
1 changed files with 0 additions and 3 deletions

View File

@ -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