please don't bully me for this
authorrinpatch <rinpatch@sdf.org>
Tue, 15 Jan 2019 09:02:55 +0000 (12:02 +0300)
committerrinpatch <rinpatch@sdf.org>
Tue, 15 Jan 2019 09:02:55 +0000 (12:02 +0300)
lib/pleroma/user.ex

index 19759aceccc5e81dd60c2fb26175c5331577181e..5707ba7a2d0df25de30d5a03e789497fff8d468c 100644 (file)
@@ -465,7 +465,7 @@ defmodule Pleroma.User do
         user
       end
     rescue
-      _ in ArgumentError ->
+      ArgumentError ->
         get_cached_by_nickname(nickname_or_id)
     end
   end