summaryrefslogtreecommitdiff
path: root/src/mod_pres_counter.erl
diff options
context:
space:
mode:
authorMickael Remond <mremond@process-one.net>2016-02-03 19:03:17 +0100
committerMickael Remond <mremond@process-one.net>2016-02-03 19:03:17 +0100
commitdfc29ea03ca91e1eb5387d93612e2ac4b4b496da (patch)
tree8a3ab89a7307fb5f4daf9f66b00fe9f16fa36b69 /src/mod_pres_counter.erl
parentRemove reference to p1_logger (diff)
Switch to Fast XML module
Diffstat (limited to '')
-rw-r--r--src/mod_pres_counter.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pres_counter.erl b/src/mod_pres_counter.erl
index 34fdcdb7..1118b7bb 100644
--- a/src/mod_pres_counter.erl
+++ b/src/mod_pres_counter.erl
@@ -52,7 +52,7 @@ check_packet(_, _User, Server, _PrivacyList,
{From, To, #xmlel{name = Name, attrs = Attrs}}, Dir) ->
case Name of
<<"presence">> ->
- IsSubscription = case xml:get_attr_s(<<"type">>, Attrs)
+ IsSubscription = case fxml:get_attr_s(<<"type">>, Attrs)
of
<<"subscribe">> -> true;
<<"subscribed">> -> true;