From 3c6f475891f550f8f8837799c67050e58ca35b58 Mon Sep 17 00:00:00 2001 From: nik gaffney Date: Wed, 29 Apr 2009 18:39:07 +0200 Subject: [PATCH] mod_mycelium test --- comm/mod_mycelium.erl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 comm/mod_mycelium.erl diff --git a/comm/mod_mycelium.erl b/comm/mod_mycelium.erl new file mode 100644 index 0000000..b0f9f5b --- /dev/null +++ b/comm/mod_mycelium.erl @@ -0,0 +1,21 @@ +-module(mod_mycelium). +-author("nik gaffney "). +-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) -> ok. +stop(_Host) -> ok. + +start(_Host, _Opt) -> + ?DEBUG("MYCELIUM LOADING...", []). + +%%-define(PROCNAME, ejabberd_mycelium). +%%-define(BOTNAME, mycelium). + +