mistyped the ' key

This commit is contained in:
Chris Sexton 2012-11-11 11:18:13 -05:00
parent 522a1f1c35
commit 396992f838
1 changed files with 1 additions and 1 deletions

View File

@ -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