Quickfix for Beers vs beers as command words

This commit is contained in:
Chris Sexton 2012-08-25 20:11:31 -04:00
parent 1551463c7f
commit 58e95fc0b4
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ func (p *BeersPlugin) Message(message bot.Message) bool {
nick := user.Name
// respond to the beers type of queries
parts[0] = strings.ToLower(parts[0]) // support iPhone/Android saying "Beers"
if parts[0] == "beers" {
if len(parts) == 3 {