blob: b8798dd5d1111a0f1e62caed5ac74b41e513ba89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
This module was built and tested with ejabberd-2.1.5
Useful ressources:
http://www.ejabberd.im/node/5085
http://www.ejabberd.im/Events%20and%20hooks
http://metajack.im/2008/08/28/writing-ejabberd-modules-presence-storms/
I implemented a single, trivial response for register requests according to:
http://metajack.im/2008/08/28/writing-ejabberd-modules-presence-storms/
To build, simply put the erl in ejabberds src/ directory and run
./configure && make
Then put the mod_register_refer.beam to /usr/lib/ejabberd/ebin/ and add the
this to the ejabberd config file:
{mod_register_refer, [ {url,["https://accounts.spline.de"]} ]},
mod_register itself should be disabled, I did not test the coexistance of both modules.
|