Introduced a bug in merge, nick vs user: nick

This commit is contained in:
Chris Sexton 2012-12-08 19:43:50 -05:00
parent acdd5d7403
commit 57138b507c
1 changed files with 2 additions and 2 deletions

View File

@ -125,8 +125,8 @@ func (p *BeersPlugin) Message(message bot.Message) bool {
p.randomReply(channel) p.randomReply(channel)
return true return true
} else if parts[0] == "bourbon++" { } else if parts[0] == "bourbon++" {
p.addBeers(user) p.addBeers(nick)
p.addBeers(user) p.addBeers(nick)
p.randomReply(channel) p.randomReply(channel)
return true return true
} else if parts[0] == "puke" { } else if parts[0] == "puke" {