diff options
author | Jordan Bracco <href@random.sh> | 2021-09-01 12:11:11 +0200 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2021-09-01 12:11:11 +0200 |
commit | be82ffd6f3b6f6708b3d405e68033b0db16f855f (patch) | |
tree | 52140cb4d6d51c7b70f8f4842bda2bb3b38232ab /lib/exirc/utils.ex | |
parent | Fix a parens warning and indentation (diff) |
Commit ircbot fork
Diffstat (limited to 'lib/exirc/utils.ex')
-rw-r--r-- | lib/exirc/utils.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exirc/utils.ex b/lib/exirc/utils.ex index 428379d..b913a88 100644 --- a/lib/exirc/utils.ex +++ b/lib/exirc/utils.ex @@ -135,7 +135,7 @@ defmodule ExIRC.Utils do %{state | channel_prefixes: prefixes} end defp isup_param("NETWORK=" <> network, state) do - %{state | network: network} + %{state | network: String.downcase(network)} end defp isup_param("PREFIX=" <> user_prefixes, state) do prefixes = Regex.run(~r/\((.*)\)(.*)/, user_prefixes, capture: :all_but_first) |