groworld/comm/mod_mycelium.erl

20 lines
498 B
Erlang
Raw Normal View History

2009-04-29 16:39:07 +00:00
-module(mod_mycelium).
-author("nik gaffney <nik@fo.am>").
-behavior(gen_mod).
-include("ejabberd.hrl").
%% x.ref
%% -> http://www.process-one.net/en/wiki/ejabberd_module_development/
%% -> http://anders.conbere.org/journal/building-ejabberd-modules-part-2-generic-modules/
-export([start/2, stop/1]).
start(_Host, _Opt) ->
?DEBUG("MYCELIUM LOADING...", []).
2009-06-10 14:38:49 +00:00
stop(Host) ->
2009-04-29 16:46:48 +00:00
?DEBUG("MYCELIUM UNLOADING...", []).
2009-04-29 16:39:07 +00:00
%%-define(PROCNAME, ejabberd_mycelium).
%%-define(BOTNAME, mycelium).