def reply(text, prefix = false)
      text = text.to_s
      if @channel && prefix
        text = text.split("\n").map {|l| "#{user.nick}: #{l}"}.join("\n")
      end

      reply_target.send(text)
    end
def reply(text, prefix = false)
      text = text.to_s
      if @channel && prefix
        text = text.split("\n").map {|l| "#{user.nick}: #{l}"}.join("\n")
      end

      reply_target.send(text)
    end
@group Replying
 Replies to a message, automatically determining if it was a
 channel or a private message.

 If the message is a STATUSMSG, i.e. it was send to `+#channel`
 or `@#channel` instead of `#channel`, the reply will be sent as
 the same kind of STATUSMSG. See {#statusmsg_mode} for more
 information on STATUSMSG.

 @param [String] text the message
 @param [Boolean] prefix if prefix is true and the message was in
   a channel, the reply will be prefixed by the nickname of whoever
   send the mesage
 @return [void]