diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/irc/puppet_connection.ex | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/irc/puppet_connection.ex b/lib/irc/puppet_connection.ex index 51b4c8a..1c093ca 100644 --- a/lib/irc/puppet_connection.ex +++ b/lib/irc/puppet_connection.ex @@ -227,6 +227,8 @@ defmodule Nola.Irc.PuppetConnection do [nick] -> nick end clean_nick + |> :unicode.characters_to_nfd_binary() + |> String.replace(~r/[^a-z0-9]/, "") end if Mix.env == :dev do |