From 00df26d0046c50b4be88a14f61a1a203cc84725d Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Fri, 17 Jan 2014 11:49:41 -0500 Subject: [PATCH] Update admin.go Remove space trimming. --- plugins/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {