From 2f814b0dd4caffd960ceaf25461f1c739ed17e7d Mon Sep 17 00:00:00 2001 From: Matt Mullins Date: Sun, 14 Aug 2011 15:34:50 -0500 Subject: [PATCH] Fix typo in names of irc_sup's children --- bot.rel | 4 ++-- irc/irc.app | 2 +- irc/irc.appup | 6 +++--- irc/irc_sup.erl | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bot.rel b/bot.rel index 0c9d98f..6409fc3 100644 --- a/bot.rel +++ b/bot.rel @@ -1,8 +1,8 @@ -{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"}] }. diff --git a/irc/irc.app b/irc/irc.app index afc2f94..733f658 100644 --- a/irc/irc.app +++ b/irc/irc.app @@ -1,6 +1,6 @@ {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]}, diff --git a/irc/irc.appup b/irc/irc.appup index 7453c7c..b6f474a 100644 --- a/irc/irc.appup +++ b/irc/irc.appup @@ -1,4 +1,4 @@ -{"2", - [{"1", [{load_module, irc_conn}]}], - [{"1", [{load_module, irc_conn}]}] +{"3", + [{"2", [{load_module, irc_sup}]}], + [{"2", [{load_module, irc_sup}]}] }. diff --git a/irc/irc_sup.erl b/irc/irc_sup.erl index 32311cc..9ae2bd3 100644 --- a/irc/irc_sup.erl +++ b/irc/irc_sup.erl @@ -19,7 +19,7 @@ init(_) -> {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] -- 2.11.0