aboutsummaryrefslogtreecommitdiff
path: root/include/mod_muc_room.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/mod_muc_room.hrl')
-rw-r--r--include/mod_muc_room.hrl16
1 files changed, 7 insertions, 9 deletions
diff --git a/include/mod_muc_room.hrl b/include/mod_muc_room.hrl
index 35bdb6ff7..171cb3424 100644
--- a/include/mod_muc_room.hrl
+++ b/include/mod_muc_room.hrl
@@ -1,6 +1,6 @@
%%%----------------------------------------------------------------------
%%%
-%%% ejabberd, Copyright (C) 2002-2018 ProcessOne
+%%% ejabberd, Copyright (C) 2002-2019 ProcessOne
%%%
%%% This program is free software; you can redistribute it and/or
%%% modify it under the terms of the GNU General Public License as
@@ -22,8 +22,6 @@
-define(SETS, gb_sets).
--define(DICT, dict).
-
-record(lqueue,
{
queue :: p1_queue:queue(),
@@ -105,13 +103,13 @@
access = {none,none,none,none} :: {atom(), atom(), atom(), atom()},
jid = #jid{} :: jid(),
config = #config{} :: config(),
- users = (?DICT):new() :: dict:dict(),
- subscribers = (?DICT):new() :: dict:dict(),
- subscriber_nicks = (?DICT):new() :: dict:dict(),
+ users = #{} :: map(),
+ subscribers = #{} :: map(),
+ subscriber_nicks = #{} :: map(),
last_voice_request_time = treap:empty() :: treap:treap(),
- robots = (?DICT):new() :: dict:dict(),
- nicks = (?DICT):new() :: dict:dict(),
- affiliations = (?DICT):new() :: dict:dict(),
+ robots = #{} :: map(),
+ nicks = #{} :: map(),
+ affiliations = #{} :: map(),
history :: lqueue(),
subject = [] :: [text()],
subject_author = <<"">> :: binary(),