-{release, {"erlbot", "3"},
+{release, {"erlbot", "4"},
{erts, "5.8.3"},
[{kernel, "2.14.3"},
{stdlib, "1.17.3"},
{sasl, "2.1.9.3"},
{core, "2"},
- {irc, "2"}]
+ {irc, "3"}]
}.
{application, irc,
[{description, "IRC protocol application"},
- {vsn, "2"},
+ {vsn, "3"},
{modules, [irc_util, irc_app, irc_sup, irc_net_sup, irc_conn]},
{registered, [irc_sup]},
{applications, [core]},
-{"2",
- [{"1", [{load_module, irc_conn}]}],
- [{"1", [{load_module, irc_conn}]}]
+{"3",
+ [{"2", [{load_module, irc_sup}]}],
+ [{"2", [{load_module, irc_sup}]}]
}.
{ok, {Restart, Children}}.
config_to_childspec({Instance, Config}) ->
- {instance, % child's name
+ {Instance, % child's name
{irc_net_sup, start_link, [Instance, Config]}, % MFA
permanent, % Restart
5, % shutdown [timeout of 5 seconds]