From 6cfb1029d3944075f589a3c0a17b49cd25aa4dfe Mon Sep 17 00:00:00 2001 From: Feng Date: Tue, 18 Oct 2016 16:01:16 +0800 Subject: [PATCH] fix subscription --- priv/emq.schema | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priv/emq.schema b/priv/emq.schema index 9829218a4..8ef0e0449 100644 --- a/priv/emq.schema +++ b/priv/emq.schema @@ -709,7 +709,7 @@ end}. {list_to_binary(Topic), list_to_integer(Qos)} end || S <- string:tokens(Topics, ",")] end, - SubOpts = fun(Prefix) -> [{topics, ParseFun(cuttlefish:conf_get(Prefix ++ ".topics", Conf))}] end, + SubOpts = fun(Prefix) -> ParseFun(cuttlefish:conf_get(Prefix ++ ".topics", Conf)) end, lists:append([WithMod(retainer, RetainOpts), WithMod(presence, PresOpts), WithMod(subscription, SubOpts)]) end}.