25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

fix typo bug injected in r1712

SVN Revision: 1725
This commit is contained in:
Christophe Romain 2008-12-09 22:42:34 +00:00
parent 3d28a7837d
commit e1575e3177

View File

@ -1758,7 +1758,7 @@ send_items(Host, Node, {LU, LS, LR} = LJID, Number) ->
[]; [];
Items -> Items ->
case Number of case Number of
last -> lists:last(Items); last -> [lists:last(Items)];
all -> Items; all -> Items;
N when N > 0 -> lists:nthtail(length(Items)-N, Items); N when N > 0 -> lists:nthtail(length(Items)-N, Items);
_ -> Items _ -> Items