log_message (IrcLogModule)

    # File lib/rbot/core/irclog.rb, line 124
      def log_message(m)
        if m.ctcp
          who = m.private? ? "me" : m.target
          logtarget = m.private? ? m.source : m.target
          case m.ctcp.intern
          when :ACTION
            if m.public?
              irclog "* #{m.source} #{m.logmessage}", m.target
            else
              irclog "* #{m.source}(#{m.sourceaddress}) #{m.logmessage}", m.source
            end
          when :VERSION
            irclog "@ #{m.source} asked #{who} about version info", logtarget
          when :SOURCE
            irclog "@ #{m.source} asked #{who} about source info", logtarget
          when :PING
            irclog "@ #{m.source} pinged #{who}", logtarget
          when :TIME
            irclog "@ #{m.source} asked #{who} what time it is", logtarget
          else
            irclog "@ #{m.source} asked #{who} about #{[m.ctcp, m.message].join(' ')}", logtarget
          end
        else
          if m.public?
            irclog "<#{m.source}> #{m.logmessage}", m.target
          else
            irclog "<#{m.source}(#{m.sourceaddress})> #{m.logmessage}", m.source
          end
        end
      end