From 57138b507cf4a1ddff9fe72e6f602e4e6094d110 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Sat, 8 Dec 2012 19:43:50 -0500 Subject: [PATCH] Introduced a bug in merge, nick vs user: nick --- plugins/beers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/beers.go b/plugins/beers.go index 0de6514..39aacb7 100644 --- a/plugins/beers.go +++ b/plugins/beers.go @@ -125,8 +125,8 @@ func (p *BeersPlugin) Message(message bot.Message) bool { p.randomReply(channel) return true } else if parts[0] == "bourbon++" { - p.addBeers(user) - p.addBeers(user) + p.addBeers(nick) + p.addBeers(nick) p.randomReply(channel) return true } else if parts[0] == "puke" {