mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +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 ->
|
||||
case Number of
|
||||
last -> lists:last(Items);
|
||||
last -> [lists:last(Items)];
|
||||
all -> Items;
|
||||
N when N > 0 -> lists:nthtail(length(Items)-N, Items);
|
||||
_ -> Items
|
||||
|
Loading…
Reference in New Issue
Block a user