Browse Source

Merge commit 'c30cd7a5cb352dc1fc8f8f0674b6b5f3ef08a1bb' into HEAD

feature/user
Jenkins 6 years ago
parent
commit
d3b32c46f2
  1. 17
      src/user.js

17
src/user.js

@ -1,12 +1,19 @@
const userlist = require("../src/userlist.js")
function User(socket) {
this.nickname = ""
this.connection = socket
this.setNickname = function(nickname) {
this.nickname = nickname
}
this.nickname = ""
this.user = ""
this.realname = ""
this.connection = socket
this.setNickname = function (nickname) {
this.nickname = nickname
}
this.setRealName = function (realname) {
this.realname = realname
}
}
module.exports = User
Loading…
Cancel
Save