diff --git a/lib/irc.js b/lib/irc.js index 6299483e..e393936c 100644 --- a/lib/irc.js +++ b/lib/irc.js @@ -1213,6 +1213,10 @@ Client.prototype.notice = function(target, text) { this._speak('NOTICE', target, text); }; +Client.prototype.setTopic = function(target, text) { + this._speak('TOPIC', target, text); +}; + Client.prototype.emitChannelEvent = function(eventName, channel) { var args = Array.prototype.slice.call(arguments, 2); this.emit.apply(this, [eventName, channel].concat(args));