Skip to content

Commit

Permalink
client.Message => IrcMessage helper getter
Browse files Browse the repository at this point in the history
  • Loading branch information
prawnsalad committed Feb 22, 2018
1 parent 323c783 commit 759a85e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ module.exports = class IrcClient extends EventEmitter {
default_transport = transport;
}

get Message() {
return IrcMessage;
}

_applyDefaultOptions(user_options) {
var defaults = {
nick: 'ircbot',
Expand Down

0 comments on commit 759a85e

Please sign in to comment.