Added isPrivate to channels

This commit is contained in:
hydrabolt
2015-09-01 22:13:09 +01:00
parent f78c1b8a2f
commit aa1db24030
2 changed files with 8 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ class PMChannel {
}
return null;
}
get isPrivate(){
return true;
}
}
module.exports = PMChannel;

View File

@@ -36,6 +36,10 @@ class Channel {
toString(){
return "#" + this.name;
}
get isPrivate(){
return false;
}
}
module.exports = Channel;