Skip to content

Commit

Permalink
channel: add getConnection method
Browse files Browse the repository at this point in the history
  • Loading branch information
evanlucas committed Mar 18, 2016
1 parent 5b643d2 commit a684510
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/models/channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ function Channel(opts) {
this._setupLogging()
}

Channel.prototype.getConnection = function getConnection() {
return this._connection
}

Channel.prototype.setTopic = function setTopic(topic) {
if (topic !== this.topic) {
this.topic = topic
Expand Down

0 comments on commit a684510

Please sign in to comment.