Skip to content

Commit

Permalink
Fix showTopKarma definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Feb 18, 2015
1 parent d9e5d96 commit f4e7c69
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -68,7 +68,7 @@ class KarmaPlugin extends BasePlugin with CommandProcessor with DataAccessingPlu

private def showTopKarma(credential: Credential, room:String): Unit = {
withDatabase(_.getTopKarma(room)) map { karma =>
val msg = "\n" + karma.map(msg => msg).mkString("\n")
val msg = "\n" + karma.mkString("\n")
sendResponse(credential, msg)
}
}
Expand Down

0 comments on commit f4e7c69

Please sign in to comment.