Skip to content

Commit e5f4fcf

Browse files
L-e-x-o-nTeifion
andauthored
Update lib/teiserver/moderation.ex
Co-authored-by: Teifion <teifion@teifion.co.uk>
1 parent c454710 commit e5f4fcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/teiserver/moderation.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ defmodule Teiserver.Moderation do
904904
# Given a full email domain such as sub.domain.foo.bar
905905
# will return a diminishing list of the dot-separated
906906
# parts of the list, e.g.
907-
# ["sub.domain.foo.bar", "domain.foo.bar", "foo.bar", "bar"]
907+
# ["bar", "foo.bar", "domain.foo.bar", "sub.domain.foo.bar"]
908908
defp domain_segments(domain) do
909909
String.split(domain, ".")
910910
|> Enum.reverse()

0 commit comments

Comments
 (0)