 
 			return limit
 
-		).then (limit) -> limit.accrue(score).save()
+		).then (limit) -> limit.accrue(parseInt score).save()
 
 	# ### .score
 	#

# # Limits

Promise = require 'bluebird'

pkgman = require 'pkgman'

orm = require 'shrub-orm'


	#
	# * (string) `id` - The ID of the limiter.
	score: (id) ->

		# } Get all scores for this limiter.
		Limit = orm.collection 'shrub-limit'
		Limit.findOne(key: "#{@key}:#{id}").populateAll().then (limit) =>
			return 0 unless limit?
			return limit.score() if 0 < limit.ttl @threshold

