aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mod_pubsub.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl
index f127ca12b..4969ac187 100644
--- a/src/mod_pubsub.erl
+++ b/src/mod_pubsub.erl
@@ -3646,8 +3646,8 @@ max_items(Host, Options) ->
0;
_ ->
case is_last_item_cache_enabled(Host) of
- true -> 1;
- false -> 0
+ true -> 0;
+ false -> 1
end
end
end.