added toString

This commit is contained in:
hydrabolt
2015-08-26 16:48:29 +01:00
parent 05a3c7f165
commit 1176ca7022
4 changed files with 17 additions and 0 deletions

View File

@@ -33,6 +33,9 @@ class Channel {
return null;
}
toString(){
return "#" + this.name;
}
}
module.exports = Channel;

View File

@@ -84,6 +84,10 @@ class Server {
}
return member;
}
toString(){
return this.name;
}
}
module.exports = Server;