summaryrefslogtreecommitdiff
path: root/src/mod_privacy_odbc.erl
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2007-07-26 09:37:16 +0000
committerMickaël Rémond <mickael.remond@process-one.net>2007-07-26 09:37:16 +0000
commit9081f1f2b67e737c74f0d5c12a88ec11548c7a03 (patch)
treec59aa64e981ad91bdf19dbc7c495edf051ab39d7 /src/mod_privacy_odbc.erl
parent* src/mod_last.erl: Adapted to mod_privacy changes. (diff)
* src/mod_last_odbc.erl: Adapted to mod_privacy changes.
* src/mod_privacy_odbc.erl: Refactoring to extract records in include file. SVN Revision: 827
Diffstat (limited to '')
-rw-r--r--src/mod_privacy_odbc.erl19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/mod_privacy_odbc.erl b/src/mod_privacy_odbc.erl
index 271fc450..845f0500 100644
--- a/src/mod_privacy_odbc.erl
+++ b/src/mod_privacy_odbc.erl
@@ -22,24 +22,7 @@
-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) ->
IQDisc = gen_mod:get_opt(iqdisc, Opts, one_queue),