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:
parent
3d28a7837d
commit
e1575e3177
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user