Skip to content

Commit

Permalink
changed title to about
Browse files Browse the repository at this point in the history
  • Loading branch information
Master Cris committed Mar 30, 2016
1 parent 138f1e1 commit 5ba1758
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions chat-plugins/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ Profile.prototype.money = function (amount) {
return label('Money') + amount + currencyName(amount);
};

Profile.prototype.title = function (about) {
return label('Title') + about ;
Profile.prototype.about = function (title) {
return label('About') + title ;
};

Profile.prototype.name = function () {
Expand Down Expand Up @@ -154,9 +154,10 @@ Profile.prototype.show = function (callback) {

return this.buttonAvatar() +
SPACE + this.name() + BR +
SPACE + this.about(Db('about').get(userid, 0)) + BR +
SPACE + this.group() + this.vip() + this.dev() + BR +
SPACE + this.money(Db('money').get(userid, 0)) + BR +
SPACE + this.title(Db('title').get(userid, 0)) + BR +
SPACE + this.about(Db('about').get(userid, 0)) + BR +
SPACE + this.seen(Db('seen').get(userid)) +
'<br clear="all">';
};
Expand Down

0 comments on commit 5ba1758

Please sign in to comment.