Permalink
Browse files

Take right, take right

  • Loading branch information...
1 parent 842c523 commit 0a793960d20d6c5600cd59d7f2ccfc9ef7d256a1 @dpp dpp committed Jan 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/scala/net/liftweb/seventhings/comet/Chat.scala
@@ -39,7 +39,7 @@ object ChatServer extends LiftActor with ListenerManager {
// handle incoming messages
override def lowPriority = {
case s: String => {
- msgs = (msgs :+ s.trim).filter(_.length > 0).take(20)
+ msgs = (msgs :+ s.trim).filter(_.length > 0).takeRight(20)
updateListeners()
}
}

0 comments on commit 0a79396

Please sign in to comment.