fix #2040 - $rootScope.moment = window.moment. Fixes to applying spell

This commit is contained in:
Tyler Renelle
2013-12-17 23:08:18 -07:00
parent 7b219c18c7
commit 06ee34c09b
3 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ api.cast = function(req, res) {
uuid: user._id,
contributor: user.contributor && user.contributor.toObject(),
backer: user.backer && user.backer.toObject(),
text: '`casts ' + spell.text + ' on ' + (type == 'user' ? found.profile.name : 'the party') + '`',
text: '`casts ' + spell.text + ' on ' + (type == 'user' ? '@'+found.profile.name : 'the party') + '`',
user: '<'+user.profile.name+'>',
timestamp: +new Date
});