diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-09-08 17:08:48 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-09-08 17:08:48 +0300 |
commit | c29a48695d3d46e556aea2ea3c5fb8b558d43f7c (patch) | |
tree | ae3b0b163fe550b7083e1a6e7b5ed0d58506f2ed /src/ejabberd_piefxis.erl | |
parent | Improve pubsub code (diff) |
Rename #error{} record to #stanza_error{}
Diffstat (limited to 'src/ejabberd_piefxis.erl')
-rw-r--r-- | src/ejabberd_piefxis.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_piefxis.erl b/src/ejabberd_piefxis.erl index 6a2b5e64..7d7d0106 100644 --- a/src/ejabberd_piefxis.erl +++ b/src/ejabberd_piefxis.erl @@ -487,7 +487,7 @@ process_privacy(#privacy_query{lists = Lists, Txt = <<"No module is handling this query">>, Error = {error, xmpp:err_feature_not_implemented(Txt, ?MYLANG)}, case mod_privacy:process_iq_set(Error, IQ) of - {error, #error{reason = Reason}} = Err -> + {error, #stanza_error{reason = Reason}} = Err -> if Reason == 'item-not-found', Lists == [], Active == undefined, Default /= undefined -> %% Failed to set default list because there is no |