Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-07-10 08:45:24 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-07-10 08:45:24 +0300
commitf6e960d326fd1fe863ac812ed6ba3dfb7651763e (patch)
tree01e2fbe34c796f579c3c042c3c694337fb97a322 /src/mod_mam.erl
parent786bd4f26c67b72e9657715fcdc43aa453c709c5 (diff)
Fix compilation error
Diffstat (limited to 'src/mod_mam.erl')
-rw-r--r--src/mod_mam.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_mam.erl b/src/mod_mam.erl
index 811e1b51d..10eb098da 100644
--- a/src/mod_mam.erl
+++ b/src/mod_mam.erl
@@ -210,7 +210,7 @@ get_room_config(X, RoomState, _From, Lang) ->
children = [{xmlcdata, Val}]}]},
X ++ [XField].
-set_room_option(_Acc, <<"muc#roomconfig_mam">>, Vals, Lang) ->
+set_room_option(_Acc, <<"muc#roomconfig_mam">> = Opt, Vals, Lang) ->
try
Val = case Vals of
[<<"0">>|_] -> false;