mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +01:00
fix typo bug injected in r1712
SVN Revision: 1724
This commit is contained in:
parent
e8635b99c8
commit
6e5a32308a
@ -2,6 +2,7 @@
|
||||
|
||||
* src/mod_pubsub/mod_pubsub.erl: prevent publish items with invalid
|
||||
XML schema bugfix (EJAB-699) (previous commit was uncomplete)
|
||||
and fix bug injected in previous commit
|
||||
|
||||
2008-12-08 Christophe Romain <christophe.romain@process-one.net>
|
||||
|
||||
|
@ -1763,7 +1763,7 @@ send_items(Host, Node, 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