diff options
-rw-r--r-- | data/rbot/plugins/reaction.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/reaction.rb b/data/rbot/plugins/reaction.rb index ee8abbd5..f70aefa1 100644 --- a/data/rbot/plugins/reaction.rb +++ b/data/rbot/plugins/reaction.rb @@ -68,6 +68,7 @@ class ::Reaction if rex.sub!(%r@^([/!])(.*)\1$@, '\2') @trigger << Regexp.new(rex, true) else + rex.sub!(/^(["'])(.*)\1$/, '\2') @trigger << Regexp.new(/\b#{Regexp.escape(rex)}\b/ui) end end |