25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-02 15:27:09 +01:00

jlib.hrl : new macro ERR_POLICY_VIOLATION

This commit is contained in:
Karim Gemayel 2012-03-09 12:07:44 +01:00
parent 92feebd0fa
commit 8d8dee5acf

View File

@ -127,6 +127,8 @@
?STANZA_ERROR("401", "auth", "not-authorized")). ?STANZA_ERROR("401", "auth", "not-authorized")).
-define(ERR_PAYMENT_REQUIRED, -define(ERR_PAYMENT_REQUIRED,
?STANZA_ERROR("402", "auth", "payment-required")). ?STANZA_ERROR("402", "auth", "payment-required")).
-define(ERR_POLICY_VIOLATION,
?STANZA_ERROR("405", "cancel", "policy-violation")).
-define(ERR_RECIPIENT_UNAVAILABLE, -define(ERR_RECIPIENT_UNAVAILABLE,
?STANZA_ERROR("404", "wait", "recipient-unavailable")). ?STANZA_ERROR("404", "wait", "recipient-unavailable")).
-define(ERR_REDIRECT, -define(ERR_REDIRECT,