From 7e6ae14cc43c005609ac66ea378c5ac012a77855 Mon Sep 17 00:00:00 2001 From: Matt Mullins Date: Wed, 18 May 2011 00:04:18 -0500 Subject: [PATCH] Renamed irc_sup to irc_net_sup; added some documentation --- irc/{irc_sup.erl => irc_net_sup.erl} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) rename irc/{irc_sup.erl => irc_net_sup.erl} (83%) diff --git a/irc/irc_sup.erl b/irc/irc_net_sup.erl similarity index 83% rename from irc/irc_sup.erl rename to irc/irc_net_sup.erl index 207efe0..87dc4c0 100644 --- a/irc/irc_sup.erl +++ b/irc/irc_net_sup.erl @@ -1,4 +1,9 @@ --module(irc_sup). +%% @doc Supervises a connection to an IRC network +%% +%% This spawns a process to handle the connection to the server. +%% In the future, it will also spawn more processes to represent users, etc. + +-module(irc_net_sup). -behavior(supervisor). -export([ -- 2.11.0