 
     client_options['channels'] = options.rooms unless options.nickpass
 
+    # Override the response to provide a sendPrivate method
+    @robot.Response = IrcResponse
+
     @robot.name = options.nick
     bot = new Irc.Client options.server, options.nick, client_options
 

# Hubot dependencies
{Robot, Adapter, TextMessage, EnterMessage, LeaveMessage, Response} = require 'hubot'

# Irc library
Irc = require 'irc'


    for str in strings
      @bot.say target, str

  sendPrivate: (envelope, strings...) ->
    # Remove the room from the envelope and send as private message to user

    if envelope.room
      delete envelope.room

    if envelope.user?.room
      delete envelope.user.room

    @send envelope, strings...

  topic: (envelope, strings...) ->
    data = strings.join " / "
