Update admin.go

Remove space trimming.
This commit is contained in:
Chris Sexton 2014-01-17 11:49:41 -05:00
parent 00d0d8e069
commit 00df26d004
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ func (p *AdminPlugin) handleVariables(message bot.Message) bool {
}
variable := strings.TrimSpace(parts[0])
value := strings.TrimSpace(parts[1])
value := parts[1]
q := p.varC.Find(bson.M{"variable": variable, "value": value})
if n, _ := q.Count(); n != 0 {