summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2009-10-13 07:47:17 +0000
committerChristophe Romain <christophe.romain@process-one.net>2009-10-13 07:47:17 +0000
commitcbf6abc26391aa844184f99e0efa33e47d05c59b (patch)
tree67dae799cc7e2cbca95d488aee4c2790b00c8a35 /src
parentIf s2s fails due to namespace mismatch, show differences to help debugging th... (diff)
typo fix (EJAB-1060)
SVN Revision: 2664
Diffstat (limited to 'src')
-rw-r--r--src/mod_pubsub/node_hometree_odbc.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_pubsub/node_hometree_odbc.erl b/src/mod_pubsub/node_hometree_odbc.erl
index 4056d1e8..1401fb0c 100644
--- a/src/mod_pubsub/node_hometree_odbc.erl
+++ b/src/mod_pubsub/node_hometree_odbc.erl
@@ -1082,7 +1082,7 @@ get_items(NodeId, JID, AccessModel, PresenceSubscription, RosterGroup, _SubId, R
(AccessModel == whitelist) and (not Whitelisted) ->
%% Node has whitelist access model and entity lacks required affiliation
{error, ?ERR_EXTENDED(?ERR_NOT_ALLOWED, "closed-node")};
- (AccessModel == authorize) and (not Whitelisted)
+ (AccessModel == authorize) and (not Whitelisted) ->
%% Node has authorize access model
{error, ?ERR_FORBIDDEN};
%%MustPay ->
@@ -1145,7 +1145,7 @@ get_item(NodeId, ItemId, JID, AccessModel, PresenceSubscription, RosterGroup, _S
(AccessModel == whitelist) and (not Whitelisted) ->
%% Node has whitelist access model and entity lacks required affiliation
{error, ?ERR_EXTENDED(?ERR_NOT_ALLOWED, "closed-node")};
- (AccessModel == authorize) and (not Whitelisted)
+ (AccessModel == authorize) and (not Whitelisted) ->
%% Node has authorize access model
{error, ?ERR_FORBIDDEN};
%%MustPay ->