diff options
Diffstat (limited to 'src/node_dag.erl')
-rw-r--r-- | src/node_dag.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_dag.erl b/src/node_dag.erl index 888b60d6b..9d84c484e 100644 --- a/src/node_dag.erl +++ b/src/node_dag.erl @@ -80,7 +80,7 @@ publish_item(Nidx, Publisher, Model, MaxItems, ItemId, Payload, PubOpts) -> collection -> Txt = <<"Publishing items to collection node is not allowed">>, {error, mod_pubsub:extended_error( - xmpp:err_not_allowed(Txt, ?MYLANG), + xmpp:err_not_allowed(Txt, ejabberd_config:get_mylang()), mod_pubsub:err_unsupported('publish'))}; _ -> node_hometree:publish_item(Nidx, Publisher, Model, |