diff --git a/lib/plugin/supervisor.ex b/lib/plugin_supervisor.ex similarity index 97% rename from lib/plugin/supervisor.ex rename to lib/plugin_supervisor.ex index 3a8775c..291a71d 100644 --- a/lib/plugin/supervisor.ex +++ b/lib/plugin_supervisor.ex @@ -1,4 +1,4 @@ -defmodule Omnibot.Plugin.Supervisor do +defmodule Omnibot.PluginSupervisor do @moduledoc false use Supervisor diff --git a/lib/supervisor.ex b/lib/supervisor.ex index 5df4311..631cdec 100644 --- a/lib/supervisor.ex +++ b/lib/supervisor.ex @@ -18,7 +18,7 @@ defmodule Omnibot.Supervisor do children = [ {Task.Supervisor, name: Omnibot.RouterSupervisor, strategy: :one_for_one}, {Omnibot.State, cfg: cfg, name: Omnibot.State}, - {Omnibot.Plugin.Supervisor, cfg: cfg, name: Omnibot.Plugin.Supervisor}, + {Omnibot.PluginSupervisor, cfg: cfg, name: Omnibot.PluginSupervisor}, ] ++ unless IEx.started?(), do: [{Omnibot.Irc, name: Omnibot.Irc}], else: []