X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpleroma%2Fclippy.ex;h=1a1606a23fc06abded914b92442f01c02a2a607e;hb=8cd3eada7dec00f4e2ddd24c6a4286a4450281c1;hp=4e9bdbe198b6002d714372eee683e0318c955e7f;hpb=a3ba72d97849ba12a5ea4008bd0b97e80bdd588b;p=akkoma diff --git a/lib/pleroma/clippy.ex b/lib/pleroma/clippy.ex index 4e9bdbe19..1a1606a23 100644 --- a/lib/pleroma/clippy.ex +++ b/lib/pleroma/clippy.ex @@ -7,13 +7,13 @@ defmodule Pleroma.Clippy do # No software is complete until they have a Clippy implementation. # A ballmer peak _may_ be required to change this module. - def tip() do + def tip do tips() |> Enum.random() |> puts() end - def tips() do + def tips do host = Pleroma.Config.get([Pleroma.Web.Endpoint, :url, :host]) [