diff --git a/plugins/admin.go b/plugins/admin.go index 6595da2..e00ac3f 100644 --- a/plugins/admin.go +++ b/plugins/admin.go @@ -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 {