Credo fixes: parameter consistency
[akkoma] / lib / pleroma / gopher / server.ex
index fee7156d34cb4e194af57997545f31759cd967db..b47a0697d9da48f4621a0f051f2883ab8c17c1a9 100644 (file)
@@ -1,5 +1,5 @@
 # Pleroma: A lightweight social networking server
-# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
 defmodule Pleroma.Gopher.Server do
@@ -47,7 +47,7 @@ defmodule Pleroma.Gopher.Server.ProtocolHandler do
     {:ok, pid}
   end
 
-  def init(ref, socket, transport, _Opts = []) do
+  def init(ref, socket, transport, [] = _Opts) do
     :ok = :ranch.accept_ack(ref)
     loop(socket, transport)
   end