mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
* src/mod_last.erl: Adapted to mod_privacy changes.
* src/mod_privacy.erl: Refactoring to extract records in include file. * src/mod_privacy.hrl: Likewise. SVN Revision: 825
This commit is contained in:
parent
54a5b2d3e9
commit
ad16c0f4a4
@ -1,5 +1,9 @@
|
|||||||
2007-07-26 Mickael Remond <mickael.remond@process-one.net>
|
2007-07-26 Mickael Remond <mickael.remond@process-one.net>
|
||||||
|
|
||||||
|
* src/mod_last.erl: Adapted to mod_privacy changes.
|
||||||
|
* src/mod_privacy.erl: Refactoring to extract records in include file.
|
||||||
|
* src/mod_privacy.hrl: Likewise.
|
||||||
|
|
||||||
* src/mod_roster_odbc.erl: Fixed wrong call.
|
* src/mod_roster_odbc.erl: Fixed wrong call.
|
||||||
|
|
||||||
2007-07-24 Mickael Remond <mickael.remond@process-one.net>
|
2007-07-24 Mickael Remond <mickael.remond@process-one.net>
|
||||||
|
@ -22,23 +22,7 @@
|
|||||||
|
|
||||||
-include("ejabberd.hrl").
|
-include("ejabberd.hrl").
|
||||||
-include("jlib.hrl").
|
-include("jlib.hrl").
|
||||||
|
-include("mod_privacy.hrl").
|
||||||
-record(privacy, {us,
|
|
||||||
default = none,
|
|
||||||
lists = []}).
|
|
||||||
|
|
||||||
-record(listitem, {type = none,
|
|
||||||
value = none,
|
|
||||||
action,
|
|
||||||
order,
|
|
||||||
match_all = false,
|
|
||||||
match_iq = false,
|
|
||||||
match_message = false,
|
|
||||||
match_presence_in = false,
|
|
||||||
match_presence_out = false
|
|
||||||
}).
|
|
||||||
|
|
||||||
-record(userlist, {name = none, list = []}).
|
|
||||||
|
|
||||||
|
|
||||||
start(Host, Opts) ->
|
start(Host, Opts) ->
|
||||||
|
16
src/mod_privacy.hrl
Normal file
16
src/mod_privacy.hrl
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-record(privacy, {us,
|
||||||
|
default = none,
|
||||||
|
lists = []}).
|
||||||
|
|
||||||
|
-record(listitem, {type = none,
|
||||||
|
value = none,
|
||||||
|
action,
|
||||||
|
order,
|
||||||
|
match_all = false,
|
||||||
|
match_iq = false,
|
||||||
|
match_message = false,
|
||||||
|
match_presence_in = false,
|
||||||
|
match_presence_out = false
|
||||||
|
}).
|
||||||
|
|
||||||
|
-record(userlist, {name = none, list = []}).
|
Loading…
Reference in New Issue
Block a user