@ -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.user = ""
this.realname = ""
this.setNickname = function (nickname) {
this.setRealName = function (realname) {
this.realname = realname
module.exports = User