     if (lines > @cache.length)
       lines = @cache.length
 #    reply = 'Showing ' + lines + ' lines of history:\n'
+    reply = ''
     reply = reply + @entryToString(message) + '\n' for message in @cache[-lines..]
     return reply
 

# }}}

class History # {{{
  constructor: (@robot, @msg, @cache, @keep = 10) ->
    @cache ||= []

  add: (message) ->

    if name is user
      msg.send "#{name} は #{name} だろ。大丈夫か？"
    else
      msg.send "#{name} は #{user} のことだ。"
    checkKeigo robot, msg
# }}}

  robot.respond /([^ ]+)[ ]*の(あだ|アダ)名は?(何|なん|なに)/, (msg) -># {{{
    realname = msg.match[1]
    unless existsUser robot, msg, realname
      msg.send "#{realname} って誰？"
