* src/mod_privacy.erl: Refactoring to extract records in include file.
* src/mod_privacy.hrl: Likewise.
SVN Revision: 825
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.
2007-07-24 Mickael Remond <mickael.remond@process-one.net>
-include("ejabberd.hrl").
-include("jlib.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 = []}).
+-include("mod_privacy.hrl").
start(Host, Opts) ->
--- /dev/null
+-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 = []}).