diff options
-rw-r--r-- | lib/lsg_irc/text_trigger_handler.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lsg_irc/text_trigger_handler.ex b/lib/lsg_irc/text_trigger_handler.ex index 0e9ef50..e8331f5 100644 --- a/lib/lsg_irc/text_trigger_handler.ex +++ b/lib/lsg_irc/text_trigger_handler.ex @@ -209,6 +209,7 @@ defmodule LSG.IRC.TxtHandler do |> String.replace("ç", "c") |> String.replace("ï", "i") |> String.replace("î", "i") + |> String.replace(~r/[^a-z0-9]/, "") {trigger, opts} end |