Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs
This commit is contained in:
commit
fdde83fad8
|
@ -322,7 +322,7 @@ module.exports = function format(fmt, obj) {
|
|||
|
||||
tokens = tokenizeFormatSpec(formatSpec || '');
|
||||
|
||||
if(!isNaN(parseInt(value))) {
|
||||
if(_.isNumber(value)) {
|
||||
out += formatNumber(value, tokens);
|
||||
} else {
|
||||
out += formatString(value, tokens);
|
||||
|
|
|
@ -81,4 +81,3 @@ WhosOnlineModule.prototype.mciReady = function(mciData, cb) {
|
|||
}
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue