From a47dc245808921309f58e8b1c4b6fa028b2df073 Mon Sep 17 00:00:00 2001 From: href Date: Wed, 2 May 2018 19:03:35 +0200 Subject: meh --- lib/lsg_web/controllers/irc_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/lsg_web/controllers/irc_controller.ex') diff --git a/lib/lsg_web/controllers/irc_controller.ex b/lib/lsg_web/controllers/irc_controller.ex index bff5476..af7fff1 100644 --- a/lib/lsg_web/controllers/irc_controller.ex +++ b/lib/lsg_web/controllers/irc_controller.ex @@ -3,7 +3,7 @@ defmodule LSGWeb.IrcController do def index(conn, _) do doc = LSG.IRC.TxtHandler.irc_doc() - commands = for mod <- Application.get_env(:lsg, :irc)[:handlers] do + commands = for mod <- (Application.get_env(:lsg, :irc)[:plugins] ++ Application.get_env(:lsg, :irc)[:handlers]) do mod.irc_doc() end |> Enum.reject(fn(i) -> i == nil end) -- cgit v1.2.3