init_server_or_casemap (Irc::ServerOrCasemap)

    # File lib/rbot/irc.rb, line 173
        def init_server_or_casemap(opts={})
          @server = opts.fetch(:server, nil)
          raise TypeError, "#{@server} is not a valid Irc::Server" if @server and not @server.kind_of?(Server)

          @casemap = opts.fetch(:casemap, nil)
          if @server
            if @casemap
              @server.casemap.must_be(@casemap)
              @casemap = nil
            end
          else
            @casemap = (@casemap || 'rfc1459').to_irc_casemap
          end
        end