diff --git a/lib/philomena/users/ability.ex b/lib/philomena/users/ability.ex index 3e317689..ff7e8d8a 100644 --- a/lib/philomena/users/ability.ex +++ b/lib/philomena/users/ability.ex @@ -64,7 +64,6 @@ defimpl Canada.Can, for: [Atom, Philomena.Users.User] do # Reveal anon users def can?(%User{role: "moderator"}, :reveal_anon, _object), do: true - def can?(%User{role: "moderator"}, :show, :ip_address), do: true # Edit posts and comments def can?(%User{role: "moderator"}, :edit, %Post{}), do: true