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