This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
squeegily
/
pleroma
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
42
Wiki
Activity
Browse Source
Apply suggestion to lib/pleroma/http/adapter.ex
debug-remote-ip
Alexander Strizhakov
4 years ago
parent
2c8d80dc0a
commit
a3ad028973
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/pleroma/http/adapter.ex
+ 1
- 1
lib/pleroma/http/adapter.ex
View File
@@ -57,7 +57,7 @@ defmodule Pleroma.HTTP.Adapter do
{:error, :einval} ->
{:domain, :idna.encode(charlist)}
{:ok, ip}
when is_tuple(ip) and tuple_size(ip) in [4, 8]
->
{:ok, ip} ->
{:ip, ip}
end
end
Write
Preview
Loading…
Cancel
Save