From 396992f8386f11b867ec5c8632fa9bc8269ca94b Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Sun, 11 Nov 2012 11:18:13 -0500 Subject: [PATCH] mistyped the ' key --- plugins/factoid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/factoid.go b/plugins/factoid.go index b8b0329..a7f3317 100644 --- a/plugins/factoid.go +++ b/plugins/factoid.go @@ -158,7 +158,7 @@ func (p *FactoidPlugin) trigger(message bot.Message) bool { p.sayFact(message, *fact) return true } - r := strings.NewReplacer(",", "", "\"", "", ",", "", ".", "", ":", "") + r := strings.NewReplacer("'", "", "\"", "", ",", "", ".", "", ":", "") if ok, fact := p.findTrigger(r.Replace(message.Body)); ok { p.sayFact(message, *fact) return true